RFR: 8308469: [PPC64] Implement alternative fast-locking scheme [v3]

Martin Doerr mdoerr at openjdk.org
Fri May 26 11:02:34 UTC 2023


On Fri, 26 May 2023 10:51:31 GMT, Richard Reingruber <rrich at openjdk.org> wrote:

>> I think we don't even need to check the `ANONYMOUS_OWNER` bit because that case is also handled by
>> 
>>   cmpd(flag, temp, R16_thread);
>>   bne(flag, failure);
>> 
>> If `temp` has the `ANONYMOUS_OWNER` set it's unequal to the current thread and we jump to failure with CR0 NE.
>
> You are right.

I have removed it and will rerun tests. Please take a look. And thanks for the discussion.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14069#discussion_r1206598101


More information about the hotspot-dev mailing list