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

Brent Christian bchristi at openjdk.org
Mon Mar 25 19:26:42 UTC 2024


On Fri, 22 Mar 2024 09:28:02 GMT, Viktor Klang <vklang at openjdk.org> wrote:

>> Brent Christian has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Elaborate on 'surprising and undesirable effects' in reachabilityFence()
>
> src/java.base/share/classes/java/lang/ref/Reference.java line 632:
> 
>> 630:      * object.  This might be the case if, for example, a usage in a user program
>> 631:      * had the form {@code new Resource().action();} which retains no other
>> 632:      * reference to this {@code Resource}.  The
> 
> Reformat this line?

Suggestions?

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

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


More information about the core-libs-dev mailing list