changeset 54971:f0af4b6c4dfd

8219232: Unit of concurrent active time logging is wrong Summary: Changed value from seconds to milliseconds. Reviewed-by: shade
author thartmann
date Mon, 18 Feb 2019 15:33:43 +0100
parents b776653628c5
children bec6c8739833
files src/hotspot/share/gc/cms/concurrentMarkSweepGeneration.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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());
 }