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

Per Liden per.liden at oracle.com
Wed Mar 13 21:32:09 UTC 2019


On 03/13/2019 09:29 PM, Kim Barrett wrote:
>> 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.

Clear and unambiguous, nice!

Reviewed.

/Per


More information about the core-libs-dev mailing list