Integrated: JDK-8304723: Statically allocate global mutexes

Justin King jcking at openjdk.org
Mon Mar 27 14:17:24 UTC 2023


On Wed, 22 Mar 2023 15:23:59 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.

This pull request has now been integrated.

Changeset: 8d423f73
Author:    Justin King <jcking at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8d423f73051004bafdfa2961c57daf7761ce900c
Stats:     130 lines in 3 files changed: 12 ins; 14 del; 104 mod

8304723: Statically allocate global mutexes
8304736: Heap_lock is created twice

Reviewed-by: coleenp, dholmes, tschatzl

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

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


More information about the hotspot-dev mailing list