RFR: JDK-8304723: Statically allocate global mutexes
Justin King
jcking at openjdk.org
Wed Mar 22 15:31:33 UTC 2023
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.
-------------
Commit messages:
- Avoid dynamically allocating statically defined mutexes and monitors
Changes: https://git.openjdk.org/jdk/pull/13143/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13143&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8304723
Stats: 410 lines in 13 files changed: 69 ins; 11 del; 330 mod
Patch: https://git.openjdk.org/jdk/pull/13143.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13143/head:pull/13143
PR: https://git.openjdk.org/jdk/pull/13143
More information about the hotspot-dev
mailing list