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

Martin Doerr mdoerr at openjdk.org
Thu Sep 28 10:38:52 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.

The lock order cannot be guaranteed for OSR compilation (see JBS discussion). Hence, I'm passing this information and allow reordering only in this case (currently testing on PPC64). Other platforms will follow after more testing and feedback.

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

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


More information about the hotspot-dev mailing list