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

2023-12-05 Thread Brent Christian
On Tue, 21 Nov 2023 09:16:17 GMT, Viktor Klang wrote: >> src/java.base/share/classes/java/lang/ref/Reference.java line 564: >> >>> 562: * {@code reachabilityFence(x)} >>> 563: * >> href="{@docRoot}/java.base/java/util/concurrent/package-summary.html#MemoryVisibility">happen-before >>>

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

2023-12-04 Thread Brent Christian
> Classes in the `java.lang.ref` package would benefit from an update to bring > the spec in line with how the VM already behaves. The changes would focus on > _happens-before_ edges at some key points during reference processing. > > A couple key things we want to be able to say are: > - `Refer