--- 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);
+ }
}
}