src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.cpp
changeset 50606 8f1d5d706bdd
parent 50605 7f63c74f0974
child 51025 e4ca45413ddd
--- a/src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.cpp	Tue May 29 09:26:00 2018 +0200
+++ b/src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.cpp	Mon Jun 18 12:11:59 2018 +0200
@@ -378,9 +378,13 @@
       worker_time->print_details_on(&ls2);
     }
   } else {
-    ls->print_cr("%s " TIME_FORMAT,
-                 ser_title,
-                 worker_time->get(0) * MILLIUNITS);
+    if (worker_time->get(0) != uninitialized()) {
+      ls->print_cr("%s " TIME_FORMAT,
+                   ser_title,
+                   worker_time->get(0) * MILLIUNITS);
+    } else {
+      ls->print_cr("%s skipped", ser_title);
+    }
   }
 }