RFR: 8258015: [JVMCI] JVMCI_lock shouldn't be held while initializing box classes for AOT
Doug Simon
dnsimon at openjdk.java.net
Thu Dec 10 11:35:35 UTC 2020
On Thu, 10 Dec 2020 11:19:35 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
> This PR fixes a regression caused by JDK-8257917 by not locking JVMCI_lock when initializing the boxing cache classes for AOT.
>
> It also reduces the calls to `JVMCI::ensure_box_caches_initialized` to be at most one per JVMCI code installation.
Tested with:
sh configure --disable-precompiled-headers --enable-jvm-feature-graal --enable-jvm-feature-aot --enable-debug
jtreg -noreport -jdk:build/macosx-x86_64-server-fastdebug/images/jdk test/hotspot/jtreg/compiler/aot
-------------
PR: https://git.openjdk.java.net/jdk/pull/1730
More information about the hotspot-compiler-dev
mailing list