Integrated: 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

This pull request has now been integrated.

Changeset: 64caf085
Author:    Axel Boldt-Christmas <aboldtch at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/64caf085344dcd5fc5185ed5882439249e239d50
Stats:     8 lines in 1 file changed: 8 ins; 0 del; 0 mod

8350572: ZGC: Enhance z_verify_safepoints_are_blocked interactions with VMError

Reviewed-by: eosterlund, stefank

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

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


More information about the hotspot-gc-dev mailing list