RFR: 8291555: Implement alternative fast-locking scheme [v29]

Thomas Stuefe stuefe at openjdk.org
Mon Mar 27 15:12:50 UTC 2023


On Thu, 23 Mar 2023 16:32:57 GMT, Roman Kennke <rkennke at openjdk.org> wrote:

>> Roman Kennke has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Merge remote-tracking branch 'origin/JDK-8291555-v2' into JDK-8291555-v2
>>  - Set condition flags correctly after fast-lock call on aarch64
>
> Is anybody familiar with the academic literature on this topic? I am sure I am not the first person which has come up with this form of locking. Maybe we could use a name that refers to some academic paper?

@rkennke Question about ZGC and LockStack::contains(): how does this work with colored pointers? Don't we have to mask the color bits out somehow when comparing? E.g. using `ZAddress::offset()` ?

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

PR Comment: https://git.openjdk.org/jdk/pull/10907#issuecomment-1485293012


More information about the serviceability-dev mailing list