RFR: JDK-8304723: Statically allocate global mutexes

Justin King jcking at openjdk.org
Wed Mar 22 17:26:20 UTC 2023


On Wed, 22 Mar 2023 17:17:57 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Other than that, moving initialization to static now runs the initializers at dll load time, not at VM initialization time. 

They do not run at DLL load time. They are initialized at VM init time. StaticLock has a trivially constructor, it is initialized later.

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

PR Comment: https://git.openjdk.org/jdk/pull/13143#issuecomment-1479974971


More information about the hotspot-dev mailing list