RFR: 8280832: Update usage docs for NonblockingQueue [v2]
Kim Barrett
kbarrett at openjdk.java.net
Thu Feb 10 05:54:45 UTC 2022
On Wed, 9 Feb 2022 10:10:17 GMT, Ivan Walulya <iwalulya at openjdk.org> wrote:
>> Kim Barrett has updated the pull request incrementally with one additional commit since the last revision:
>>
>> walulyai review
>
> src/hotspot/share/utilities/nonblockingQueue.inline.hpp line 120:
>
>> 118: // old_tail for extension. We won any races with try_pop by changing
>> 119: // away from end-marker. So we're done. Note that ABA is possible;
>> 120: // try_pop could take old_tail before our update, it gets recycled and
>
> "a concurrent try_pop could take...."
Sure, I can make that explicit.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7393
More information about the hotspot-dev
mailing list