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

Roman Kennke rkennke at openjdk.org
Mon Sep 25 14:23:13 UTC 2023


On Mon, 25 Sep 2023 13:57:26 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

> I think we need to support "Top of lock-stack does not match the unlocked object" and take the slow path. Reason: see JBS issue.
> Currently only PPC64 code. I'd like to get feedback before implementing it for other platforms (needed for all platforms).

No, not really. C2 should only encounter balanced locking. If the TOS doesn't match, then the issue is a discrepancy elsewhere. See my comment in the ticket for a possible explanation.

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

PR Comment: https://git.openjdk.org/jdk/pull/15903#issuecomment-1733809724


More information about the hotspot-dev mailing list