RFR: 8338658: New Object to ObjectMonitor mapping: s390x implementation [v2]

Amit Kumar amitkumar at openjdk.org
Wed Sep 11 09:32:07 UTC 2024


On Mon, 9 Sep 2024 09:38:50 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> I guess let's keep it. I mean even if there is need to change the layout, then we have to remove `z_mvghi` and switch back to this implementation again. So maybe better we keep it here and hope for the best ?
>
> `BasicObjectLock` is a very small data structure. 12 bit offsets are more than enough. The actual offsets are 0 :-)

I was only looking for extra safety. But I reverted it. Thanks for the suggestion.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20740#discussion_r1753784379


More information about the hotspot-dev mailing list