mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8199712: Flight Recorder
Co-authored-by: Markus Gronlund <markus.gronlund@oracle.com> Reviewed-by: coleenp, ihse, erikj, dsamersoff, mseledtsov, egahlin, mgronlun
This commit is contained in:
parent
f575533a17
commit
a060be188d
1062 changed files with 119159 additions and 3164 deletions
|
@ -25,7 +25,6 @@
|
|||
#include "precompiled.hpp"
|
||||
#include "gc/shared/gcTimer.hpp"
|
||||
#include "utilities/growableArray.hpp"
|
||||
#include "utilities/ticks.inline.hpp"
|
||||
|
||||
// the "time" parameter for most functions
|
||||
// has a default value set by Ticks::now()
|
||||
|
@ -376,7 +375,7 @@ public:
|
|||
GCTimer gc_timer;
|
||||
gc_timer.register_gc_start(1);
|
||||
|
||||
assert(gc_timer.gc_start() == 1, "Incorrect");
|
||||
assert(gc_timer.gc_start() == Ticks(1), "Incorrect");
|
||||
}
|
||||
|
||||
static void gc_end() {
|
||||
|
@ -384,7 +383,7 @@ public:
|
|||
gc_timer.register_gc_start(1);
|
||||
gc_timer.register_gc_end(2);
|
||||
|
||||
assert(gc_timer.gc_end() == 2, "Incorrect");
|
||||
assert(gc_timer.gc_end() == Ticks(2), "Incorrect");
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue