[jdk8u-ri] RFR: 8071507: (ref) Clear phantom reference as soft and weak references do

Mandy Chung mchung at openjdk.java.net
Wed Apr 20 00:54:26 UTC 2022


On Tue, 19 Apr 2022 18:01:20 GMT, Poonam Bajaj <poonam at openjdk.org> wrote:

> These changes backport the following fixes to jdk8u-ri:
> - 8071507: (ref) Clear phantom reference as soft and weak references do
> - 8143847: Remove REF_CLEANER reference category
> 
> With these changes, phantom references are automatically cleared by the garbage collector as soft and weak references.

The change looks good to me.

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

Marked as reviewed by mchung (Reviewer).

PR: https://git.openjdk.java.net/jdk8u-ri/pull/4


More information about the jdk8u-dev mailing list