[jdk21u] Integrated: 8316746: Top of lock-stack does not match the unlocked object

Martin Doerr mdoerr at openjdk.org
Mon Nov 20 15:38:03 UTC 2023


On Tue, 14 Nov 2023 14:46:40 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> Backport of PPC64 fix [JDK-8316746](https://bugs.openjdk.org/browse/JDK-8316746). The issue was observed with the new lightweight locking, but the bug is not limited to it. C2 OSR compiled methods may be wrong when the monitor slots were reused in opposite order (see included test).

This pull request has now been integrated.

Changeset: 7588fce7
Author:    Martin Doerr <mdoerr at openjdk.org>
URL:       https://git.openjdk.org/jdk21u/commit/7588fce7d26ba7b1910a0aa75b6beef72ad85fdb
Stats:     160 lines in 7 files changed: 76 ins; 44 del; 40 mod

8316746: Top of lock-stack does not match the unlocked object

Backport-of: 7d8adfa855e51a90c2f125fc20a06f9a488e6248

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

PR: https://git.openjdk.org/jdk21u/pull/361


More information about the jdk-updates-dev mailing list