RFR: JDK-8304723: Statically allocate global mutexes [v2]
Justin King
jcking at openjdk.org
Wed Mar 22 17:37:56 UTC 2023
On Wed, 22 Mar 2023 17:24:28 GMT, Justin King <jcking at openjdk.org> wrote:
>> Switch to statically allocate storage for all of Hotspot's global mutexes and monitors. This avoids needing to allocate each one dynamically at startup. These also live for the lifetime of the program, so this reduces any potential memory fragmention in the C heap.
>
> Justin King has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix lock being initialized twice and lock never initialized
>
> Signed-off-by: Justin King <jcking at google.com>
Created [JDK-8304736](https://bugs.openjdk.org/browse/JDK-8304736) and [JDK-8304738](https://bugs.openjdk.org/browse/JDK-8304738).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13143#issuecomment-1479991910
More information about the hotspot-dev
mailing list