RFR: 8316659: assert(LockingMode != LM_LIGHTWEIGHT || flag == CCR0) failed: bad condition register

Martin Doerr mdoerr at openjdk.org
Thu Sep 21 10:49:05 UTC 2023


`compiler_fast_lock_object` and `compiler_fast_unlock_object` need to use CR0, now. This works for all locking modes and is used this way by C2 compiler, too (`flagsRegCR0` used by the mach nodes in ppc.ad).

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

Commit messages:
 - 8316659: assert(LockingMode != LM_LIGHTWEIGHT || flag == CCR0) failed: bad condition register

Changes: https://git.openjdk.org/jdk/pull/15857/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15857&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8316659
  Stats: 7 lines in 1 file changed: 0 ins; 3 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/15857.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15857/head:pull/15857

PR: https://git.openjdk.org/jdk/pull/15857


More information about the hotspot-compiler-dev mailing list