--- old/src/hotspot/share/gc/g1/g1RemSet.cpp 2018-04-09 14:12:56.872984625 +0200 +++ new/src/hotspot/share/gc/g1/g1RemSet.cpp 2018-04-09 14:12:56.095935586 +0200 @@ -42,6 +42,7 @@ #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" @@ -915,7 +916,7 @@ "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),