RFR: 8369622: GlobalChunkPoolMutex is recursively locked during error handling

David Holmes dholmes at openjdk.org
Sun Oct 19 21:35:03 UTC 2025


On Fri, 17 Oct 2025 17:04:58 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> This change disables recursive locking for the ChunkPoolLocker during error handling for NMT callers.  The patch is written by Johan as an alternative to supporting another recursive locker for this lock.
> Tested with tier1-4, tier5 on aarch64 (product and debug).

This is the same kind of strategy used by ZGC. It seems a good idiom to use for dealing with error reporting.

Looks good.

Thanks

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

Marked as reviewed by dholmes (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27869#pullrequestreview-3354680283


More information about the hotspot-runtime-dev mailing list