RFR: 8188066: (ref) Examine the reachability of JNI WeakGlobalRef and interaction with phantom refs

Kim Barrett kim.barrett at oracle.com
Wed Mar 13 20:29:43 UTC 2019


> On Mar 13, 2019, at 4:07 PM, Kim Barrett <kim.barrett at oracle.com> wrote:
> 
> Please review this change to the JNI specification.  The specified
> behavior of Weak Global References, and in particular their
> relationship to Java PhantomReference, is being updated to account
> for a change to PhantomReference by JDK-8071507.
> 
> CR:
> https://bugs.openjdk.java.net/browse/JDK-8188066
> 
> CSR:
> https://bugs.openjdk.java.net/browse/JDK-8220617
> 
> Changes:
> http://cr.openjdk.java.net/~kbarrett/8188066/jni_specdiff_rev1.html
>  specdiff for the changes.  In addition to updating the section
>  describing Weak Global References, the description of NewGlobalRef
>  is updated, as well as the copyright footer.
> 
> http://cr.openjdk.java.net/~kbarrett/8188066/weak_global_refs_rev1.md
>  Copies of the before and after text for the JNI Weak Global
>  References section; easier to read than diffs or specdiff.

I botched the upload of the changes to cr.openjdk.java.net.  The corrected URLS are:

http://cr.openjdk.java.net/~kbarrett/8188066/jni_specdiff_rev1/diff.html
http://cr.openjdk.java.net/~kbarrett/8188066/weak_global_refs_rev1.html



More information about the core-libs-dev mailing list