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

Poonam Bajaj poonam at openjdk.org
Fri Aug 5 23:41:22 UTC 2022


On Fri, 5 Aug 2022 21:55:25 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.
>
> Poonam Bajaj has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Updated copyright years

> Also, SKARA does not appear to be picking this up as a backport, as the "Backport " style was not used (https://wiki.openjdk.org/display/SKARA/Backports). Ideally it would refer to the changeset in 8u42, [ad6cdea5ae385623afa86251a8278c9c5274f4c1](https://git.openjdk.java.net/jdk8u-ri/commit/ad6cdea5ae385623afa86251a8278c9c5274f4c1), but it may have to be one of the three original changesets from jdk
> 
> In the code itself, three files are missing copyright header changes where they are newer than the current version: `referenceProcessor.hpp`, `referenceProcessor.cpp" and `referenceType.hpp`. 8143847 bumps all of these to 2016 and this change should do the same. The other files already have a newer copyright year than in 8143847.

I have updated the copyright years and also fixed the SAKARA backport part.

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

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


More information about the jdk8u-dev mailing list