RFR: 8350572: ZGC: Enhance z_verify_safepoints_are_blocked interactions with VMError

Axel Boldt-Christmas aboldtch at openjdk.org
Mon Mar 10 11:57:03 UTC 2025


On Thu, 27 Feb 2025 11:15:52 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

> If VMError reporting is triggered from a disallowed  thread state `z_verify_safepoints_are_blocked` will cause reentrant assertions to be triggered, when for example when loading the thread oop as part of thread printing. This extends the verification to be ignored if triggered from the thread doing the error reporting. In most cases performing the load barriers from disallowed thread states during error reporting will work.
> 
> Testing:
>  - tier 1 Oracle supported platforms
>  - GHA

Thanks for the reviews

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

PR Comment: https://git.openjdk.org/jdk/pull/23820#issuecomment-2710327472


More information about the hotspot-gc-dev mailing list