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

Tom Rodriguez never at openjdk.org
Mon Sep 4 06:25:37 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.

Marked as reviewed by never (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/15549#pullrequestreview-1608833427


More information about the hotspot-compiler-dev mailing list