Details
-
Bug
-
Resolution: Fixed
-
P5
-
12, 13, 14
-
b11
-
generic
-
generic
Description
-Xlog:gc+stats=info prints this:
[0.117s][info][gc,stats] "(G)" (gross) pauses include VM time: time to notify and block threads, do the pre-
[0.117s][info][gc,stats] and post-safepoint housekeeping. Use -XX:+PrintSafepointStatistics to dissect.
However, -XX:+PrintSafepointStatistics was removed in OpenJDK 12. For the current tip, the replacement is -Xlog:safepoint+stats=info. In OpenJDK 12, it was -Xlog:safepoint+stats=debug.
OpenJDK 11 prints a deprecation warning for -XX:+PrintSafepointStatistics, but it does not seem that it is possible to get the output using -Xlog, so it does not seem that anything needs to be changed there.
[0.117s][info][gc,stats] "(G)" (gross) pauses include VM time: time to notify and block threads, do the pre-
[0.117s][info][gc,stats] and post-safepoint housekeeping. Use -XX:+PrintSafepointStatistics to dissect.
However, -XX:+PrintSafepointStatistics was removed in OpenJDK 12. For the current tip, the replacement is -Xlog:safepoint+stats=info. In OpenJDK 12, it was -Xlog:safepoint+stats=debug.
OpenJDK 11 prints a deprecation warning for -XX:+PrintSafepointStatistics, but it does not seem that it is possible to get the output using -Xlog, so it does not seem that anything needs to be changed there.