Integrated: 8323716: Only print ZGC Phase Switch events in hs_err files when running with ZGC

Stefan Karlsson stefank at openjdk.org
Tue Jan 16 10:33:28 UTC 2024


On Mon, 15 Jan 2024 10:16:12 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> Don't print the ZGC Phase Switch hs_err section when the JVM is run with other GCs than ZGC.
> 
> I've tested this manually with `-XX:ErrorHandlerTest=3 -version` and verified that the section is logged when ZGC is used, and that it is not logged when G1 is used.

This pull request has now been integrated.

Changeset: 59062402
Author:    Stefan Karlsson <stefank at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/59062402b9c5ed5612a13c1c40eb22cf1b97c41a
Stats:     4 lines in 1 file changed: 3 ins; 0 del; 1 mod

8323716: Only print ZGC Phase Switch events in hs_err files when running with ZGC

Reviewed-by: aboldtch, tschatzl, shade

-------------

PR: https://git.openjdk.org/jdk/pull/17420


More information about the hotspot-dev mailing list