[jdk21u-dev] RFR: 8337660: C2: basic blocks with only BoxLock nodes are wrongly treated as empty

Goetz Lindenmaier goetz at openjdk.org
Fri Dec 27 10:48:19 UTC 2024


I backport this for parity with 21.0.7-oracle

I had to adapt the flags in the run command of the test, 
as the locking mode is experimental in 21:

Error: VM option 'LockingMode' is experimental and must be enabled via -XX:+UnlockExperimentalVMOptions.
Error: The unlock option must precede 'LockingMode'.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

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

Commit messages:
 - Backport 0105203575182e24a56a38a12da7c1af58ea0a78

Changes: https://git.openjdk.org/jdk21u-dev/pull/1293/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1293&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8337660
  Stats: 6 lines in 1 file changed: 1 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1293.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1293/head:pull/1293

PR: https://git.openjdk.org/jdk21u-dev/pull/1293


More information about the jdk-updates-dev mailing list