RFR: 8315566: [JVMCI] deadlock in JVMCI startup when bad option specified

Doug Simon dnsimon at openjdk.org
Mon Sep 4 10:20:54 UTC 2023


On Sat, 2 Sep 2023 11:00:00 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> This PR changes `HotSpotJVMCIRuntime.vmEventListeners` to be initialized in the `HotSpotJVMCIRuntime` constructor. This avoids a deadlock that can occur when this list is lazily initialized. Lazily initializing this list has no measurable performance benefit, especially in the context of libgraal.

Thanks for the reviews.

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

PR Comment: https://git.openjdk.org/jdk/pull/15549#issuecomment-1704997530


More information about the hotspot-compiler-dev mailing list