Integrated: 8315566: [JVMCI] deadlock in JVMCI startup when bad option specified
Doug Simon
dnsimon at openjdk.org
Mon Sep 4 10:20:55 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.
This pull request has now been integrated.
Changeset: d1cabe4f
Author: Doug Simon <dnsimon at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d1cabe4f22abe96486d85bd5efc468e0e640c3e4
Stats: 23 lines in 1 file changed: 3 ins; 12 del; 8 mod
8315566: [JVMCI] deadlock in JVMCI startup when bad option specified
Reviewed-by: thartmann, never
-------------
PR: https://git.openjdk.org/jdk/pull/15549
More information about the hotspot-compiler-dev
mailing list