8229835: Shenandoah should recommend -Xlog:safepoint+stats
Reviewed-by: shade
Contributed-by: Florian Weimer <fweimer@redhat.com>
--- 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).");