RFR: 8314480: Memory ordering spec updates in java.lang.ref [v6]

Brent Christian bchristi at openjdk.org
Thu Jan 25 23:09:54 UTC 2024


On Tue, 23 Jan 2024 11:40:00 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Brent Christian has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Tweak Reference.enqueue memory consistency effects wording
>
> src/java.base/share/classes/java/lang/ref/Reference.java line 508:
> 
>> 506:      * Use of this method allows the registered queue's
>> 507:      * {@link ReferenceQueue#poll} and {@link ReferenceQueue#remove} methods
>> 508:      * to return this reference even though the referent is still strongly
> 
> Perhaps s/is still/may still be/

Sure, sounds good

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16644#discussion_r1467059185


More information about the hotspot-gc-dev mailing list