[jdk8u-ri] RFR: 8287132: Retire Runtime.runFinalizersOnExit so that it always throws UOE [v2]

David Holmes dholmes at openjdk.java.net
Wed May 25 01:20:01 UTC 2022


On Tue, 24 May 2022 16:56:03 GMT, Mandy Chung <mchung at openjdk.org> wrote:

>> David Holmes has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Missing paragraph tag.
>
> hotspot/src/share/vm/runtime/thread.cpp line 3921:
> 
>> 3919:     // won't be run. Note that if a shutdown hook was registered,
>> 3920:     // the Shutdown class would have already been loaded
>> 3921:     // (Runtime.addShutdownHook will load it).
> 
> Nit: The comment block about "Shutdown sequence" below has a reference to finalization-on-exit.
> 
> 
> 3945           // shutdown hooks, run finalizers if finalization-on-exit

Thanks, that escaped my grep search. I will fix.

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

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


More information about the jdk8u-dev mailing list