RFR: 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.
Thanks for the reviews!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17420#issuecomment-1893465200
More information about the hotspot-dev
mailing list