8219232: Unit of concurrent active time logging is wrong
authorthartmann
Mon, 18 Feb 2019 15:33:43 +0100
changeset 53790 f0af4b6c4dfd
parent 53789 b776653628c5
child 53791 bec6c8739833
8219232: Unit of concurrent active time logging is wrong Summary: Changed value from seconds to milliseconds. Reviewed-by: shade
src/hotspot/share/gc/cms/concurrentMarkSweepGeneration.cpp
--- a/src/hotspot/share/gc/cms/concurrentMarkSweepGeneration.cpp	Mon Feb 18 12:16:02 2019 +0100
+++ b/src/hotspot/share/gc/cms/concurrentMarkSweepGeneration.cpp	Mon Feb 18 15:33:43 2019 +0100
@@ -2761,7 +2761,7 @@
 CMSPhaseAccounting::~CMSPhaseAccounting() {
   _collector->gc_timer_cm()->register_gc_concurrent_end();
   _collector->stopTimer();
-  log_debug(gc)("Concurrent active time: %.3fms", TimeHelper::counter_to_seconds(_collector->timerTicks()));
+  log_debug(gc)("Concurrent active time: %.3fms", TimeHelper::counter_to_millis(_collector->timerTicks()));
   log_trace(gc)(" (CMS %s yielded %d times)", _title, _collector->yields());
 }