[jdk17u-dev] RFR: 8316746: Top of lock-stack does not match the unlocked object

Martin Doerr mdoerr at openjdk.org
Mon Nov 20 16:57:53 UTC 2023


Backport of [JDK-8316746](https://bugs.openjdk.org/browse/JDK-8316746). Doesn't apply cleanly:

- Comment cleanup for other platforms don't apply. Comment not there. Skipped.
- Changes to monitorenter/exit had to be integrated manually because JDK17 uses `BasicObjectLock::obj_offset_in_bytes()` while head uses `in_bytes(BasicObjectLock::obj_offset())`.

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

Commit messages:
 - Backport 7d8adfa855e51a90c2f125fc20a06f9a488e6248

Changes: https://git.openjdk.org/jdk17u-dev/pull/1977/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1977&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8316746
  Stats: 158 lines in 4 files changed: 76 ins; 41 del; 41 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1977.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/1977/head:pull/1977

PR: https://git.openjdk.org/jdk17u-dev/pull/1977


More information about the jdk-updates-dev mailing list