< prev index next >
src/hotspot/share/gc/g1/g1RemSet.cpp
Print this page
rev 49619 : JEP 328 : Flight Recorder open source preview
@@ -40,10 +40,11 @@
#include "gc/shared/suspendibleThreadSet.hpp"
#include "memory/iterator.hpp"
#include "memory/resourceArea.hpp"
#include "oops/access.inline.hpp"
#include "oops/oop.inline.hpp"
+#include "runtime/os.hpp"
#include "utilities/align.hpp"
#include "utilities/globalDefinitions.hpp"
#include "utilities/intHisto.hpp"
#include "utilities/stack.inline.hpp"
#include "utilities/ticks.inline.hpp"
@@ -913,11 +914,11 @@
"bot " PTR_FORMAT " "
"TAMS " PTR_FORMAT " "
"TARS " PTR_FORMAT,
region_idx,
_cm->liveness(region_idx) * HeapWordSize,
- TicksToTimeHelper::seconds(time) * 1000.0,
+ (time.value() / os::elapsed_frequency()) * 1000.0,
marked_bytes,
p2i(hr->bottom()),
p2i(top_at_mark_start),
p2i(top_at_rebuild_start));
< prev index next >