RFR: 8308479: [s390x] Implement alternative fast-locking scheme [v3]

Lutz Schmidt lucy at openjdk.org
Thu Jun 15 06:41:15 UTC 2023


On Thu, 15 Jun 2023 04:51:20 GMT, Amit Kumar <amitkumar at openjdk.org> wrote:

>> src/hotspot/cpu/s390/macroAssembler_s390.cpp line 5670:
>> 
>>> 5668: 
>>> 5669:   // Clear lock-bits from hdr (locked state)
>>> 5670:   z_xilf(temp, markWord::unlocked_value);
>> 
>> The markWord values occupy only the rightmost few bits. Therefore, z_xill() will suffice.
>
> we don't have `z_xill()` instruction like `z_nill()` or `z_oill()` :-(

You are right. I should have RTFM.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14414#discussion_r1230505376


More information about the hotspot-dev mailing list