RFR: JDK-8304820: Statically allocate ObjectSynchronizer mutexes
Justin King
jcking at openjdk.org
Thu Mar 23 21:50:45 UTC 2023
On Thu, 23 Mar 2023 15:53:28 GMT, Justin King <jcking at openjdk.org> wrote:
> Similar to https://git.openjdk.org/jdk/pull/13143, statically allocate mutexes which live for the lifetime of the process.
Hm. We may want to try placing each mutex on separate cache lines if necessary. Can be done by creating a lightweight wrapper struct which uses `alignas(DEFAULT_CACHE_LINE_SIZE)`. Thoughts?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13160#issuecomment-1481957191
More information about the hotspot-runtime-dev
mailing list