Integrated: 8331771: ZGC: Remove OopMapCacheAlloc_lock ordering workaround

Aleksey Shipilev shade at openjdk.org
Tue May 7 14:25:57 UTC 2024


On Tue, 7 May 2024 09:00:47 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> After [JDK-8331714](https://bugs.openjdk.org/browse/JDK-8331714), we don't need the Generational Z kludge that works around the lock ranking problem with (now gone) `OopMapCacheAlloc_lock`. I also reverted the `DisableIs*Mark` that was added specifically for that kludge in JDK 21. This simplifies further additions of new marks that do not have to replicate `Disable*` code.
> 
> Additional testing:
>  - [x] Linux x86_64 server fastdebug, `hotspot_gc`

This pull request has now been integrated.

Changeset: 5746137e
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/5746137e8a46e1eb964fe8c4de015a62dc17a745
Stats:     22 lines in 4 files changed: 0 ins; 22 del; 0 mod

8331771: ZGC: Remove OopMapCacheAlloc_lock ordering workaround

Reviewed-by: eosterlund, stefank, zgu

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

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


More information about the hotspot-gc-dev mailing list