RFR: 8316273: JDK-8315818 broke JVMCIShowProperties on libgraal
Doug Simon
dnsimon at openjdk.org
Thu Sep 14 12:02:17 UTC 2023
This PR prevents the possibility for `JVMCIPrintProperties` to emit output more than once. That possibility was introduced by [JDK-8315818](https://bugs.openjdk.org/browse/JDK-8315818) by allowing JVMCI initialization to happen earlier on a compiler thread that races with the main thread in terms of JVMCI initialization.
-------------
Commit messages:
- do not initialize compilation if JVMCIPrintProperties or JVMCILibDumpJNIConfig is true
Changes: https://git.openjdk.org/jdk/pull/15739/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15739&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8316273
Stats: 11 lines in 1 file changed: 9 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/15739.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15739/head:pull/15739
PR: https://git.openjdk.org/jdk/pull/15739
More information about the hotspot-runtime-dev
mailing list