RFR: 8316746: Top of lock-stack does not match the unlocked object
Martin Doerr
mdoerr at openjdk.org
Mon Sep 25 21:05:12 UTC 2023
On Mon, 25 Sep 2023 14:20:33 GMT, Roman Kennke <rkennke at openjdk.org> wrote:
> 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.
Handling ANONYMOUS_OWNER in the C2 monitor unlocking code doesn't solve this issue, but this PR does. Please see my reply in the JBS issue.
Also note that other tests and benchmarks are stable on PPC64. We should have seen more problems if the implementation had such a fundamental bug. This issue only shows up in jdi tests which do special things. Will need to look more what exactly they do.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15903#issuecomment-1734457622
More information about the hotspot-dev
mailing list