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

Martin Doerr mdoerr at openjdk.org
Tue Sep 26 13:28:29 UTC 2023


On Mon, 25 Sep 2023 21:14:11 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, x86_64 and aarch64 code. I'd like to get feedback before implementing it for other platforms (needed for all platforms).
>
> Martin Doerr has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add x86_64 and aarch64 implementation.

Closing after Roman's design explanation: "C2 (and C1) enforces strictly nested balanced locking." We will hopefully find a better fix to make this really happen. (Otherwise, we could still reopen.)

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

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


More information about the hotspot-dev mailing list