RFR: JDK-8276422 Add command-line option to disable finalization [v4]

Stuart Marks smarks at openjdk.java.net
Fri Nov 19 02:35:44 UTC 2021


On Fri, 19 Nov 2021 00:59:10 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Stuart Marks has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove Finalizer.Holder class.
>
> src/java.base/share/classes/java/lang/ref/Finalizer.java line 64:
> 
>> 62:     }
>> 63: 
>> 64:     static final boolean ENABLED = isFinalizationEnabled();
> 
> private?

Yeah, probably should be private. Other stuff in this class is private except things that are used from outside.

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

PR: https://git.openjdk.java.net/jdk/pull/6442


More information about the core-libs-dev mailing list