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

Poonam Bajaj poonam at openjdk.org
Thu Aug 11 14:00:20 UTC 2022


On Mon, 1 Aug 2022 16:30:17 GMT, Poonam Bajaj <poonam at openjdk.org> wrote:

> Backport of 8071507 and 8143847 from jdk8u-ri to jdk8u-dev.
> 
>     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 like soft and weak references.
> 
> The changes are clean backport apart from a little manual adjustment for the hunk at line 246 in referenceProcessor.cpp.

This pull request has now been integrated.

Changeset: 0869fc01
Author:    Poonam Bajaj <poonam at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/0869fc0153bde09c41ad37c3c46f715e23b41966
Stats:     173 lines in 10 files changed: 105 ins; 48 del; 20 mod

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

Reviewed-by: iris, dholmes, mchung, andrew
Backport-of: ad6cdea5ae385623afa86251a8278c9c5274f4c1

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

PR: https://git.openjdk.org/jdk8u-dev/pull/94


More information about the jdk8u-dev mailing list