8229835: Shenandoah should recommend -Xlog:safepoint+stats
authorfweimer
Fri, 16 Aug 2019 21:20:21 +0200
changeset 57797 d48a1703ad6e
parent 57796 56df9a08ed9c
child 57798 f0c73a5683e7
8229835: Shenandoah should recommend -Xlog:safepoint+stats Reviewed-by: shade Contributed-by: Florian Weimer <fweimer@redhat.com>
src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.cpp
--- a/src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.cpp	Mon Aug 19 14:28:43 2019 +0100
+++ b/src/hotspot/share/gc/shenandoah/shenandoahPhaseTimings.cpp	Fri Aug 16 21:20:21 2019 +0200
@@ -105,7 +105,7 @@
   out->cr();
   out->print_cr("GC STATISTICS:");
   out->print_cr("  \"(G)\" (gross) pauses include VM time: time to notify and block threads, do the pre-");
-  out->print_cr("        and post-safepoint housekeeping. Use -XX:+PrintSafepointStatistics to dissect.");
+  out->print_cr("        and post-safepoint housekeeping. Use -Xlog:safepoint+stats to dissect.");
   out->print_cr("  \"(N)\" (net) pauses are the times spent in the actual GC code.");
   out->print_cr("  \"a\" is average time for each phase, look at levels to see if average makes sense.");
   out->print_cr("  \"lvls\" are quantiles: 0%% (minimum), 25%%, 50%% (median), 75%%, 100%% (maximum).");