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

Dan Heidinga heidinga at openjdk.org
Thu Apr 18 13:49:19 UTC 2024


On Thu, 18 Apr 2024 13:29:55 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> 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.

Thanks.  Pushed an update

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

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


More information about the hotspot-dev mailing list