RFR: 8320522: Remove code related to `RegisterFinalizersAtInit` [v4]

Albert Mingkun Yang ayang at openjdk.org
Thu Apr 18 13:32:59 UTC 2024


On Thu, 18 Apr 2024 12:44:19 GMT, Dan Heidinga <heidinga at openjdk.org> wrote:

>> Remove the code related to -XX:[+-]RegisterFinalizersAtInit in JDK23.
>> 
>> `make test-tier1` passed with this change
>
> Dan Heidinga has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update copyright

src/hotspot/share/oops/instanceKlass.cpp line 1512:

> 1510: 
> 1511: instanceOop InstanceKlass::allocate_instance(TRAPS) {
> 1512:   bool has_finalizer_flag = has_finalizer(); // Query before possible GC

This local var is unused.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18823#discussion_r1570758524


More information about the hotspot-dev mailing list