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

Poonam Bajaj poonam at openjdk.java.net
Thu Apr 28 17:33:56 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.

This pull request has now been integrated.

Changeset: ad6cdea5
Author:    Poonam Bajaj <poonam at openjdk.org>
URL:       https://git.openjdk.java.net/jdk8u-ri/commit/ad6cdea5ae385623afa86251a8278c9c5274f4c1
Stats:     170 lines in 10 files changed: 105 ins; 48 del; 17 mod

8071507: (ref) Clear phantom reference as soft and weak references do
8143847: Remove REF_CLEANER reference category

Reviewed-by: mchung, kbarrett, iris

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

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


More information about the jdk8u-dev mailing list