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

Richard Reingruber rrich at openjdk.org
Tue Nov 21 15:21:15 UTC 2023


On Mon, 20 Nov 2023 16:51:57 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> Backport of [JDK-8316746](https://bugs.openjdk.org/browse/JDK-8316746). Doesn't apply cleanly:
> 
> - Comment cleanups 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())`.

I've diffed the original commit and the backport. Looks good!
Thanks, Richard.

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

Marked as reviewed by rrich (Reviewer).

PR Review: https://git.openjdk.org/jdk17u-dev/pull/1977#pullrequestreview-1742291467


More information about the jdk-updates-dev mailing list