RFR: 8275775: VM.metaspace prints flag 'f' for classes that have non-trivial finalize() [v2]

Yi Yang yyang at openjdk.java.net
Wed Oct 27 01:30:39 UTC 2021


On Tue, 26 Oct 2021 04:49:51 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> Yi Yang has updated the pull request incrementally with three additional commits since the last revision:
>> 
>>  - Merge branch 'ms_report' of https://github.com/kelthuzadx/jdk into ms_report
>>  - use has-nontrivial-finalize
>>  - 8275775 VM.metaspace prints flag 'f' for classes that overrided finalize()
>
> src/hotspot/share/memory/metaspace/printMetaspaceInfoKlassClosure.cpp line 46:
> 
>> 44:   // Print a 's' for shared classes
>> 45:   _out->put(k->is_shared() ? 's' : ' ');
>> 46:   // Print a 'f' for classes that having a non-trivial finalize() method
> 
> s/a/an/  (as 'f' is pronounced eff it gets treated as a vowel)
> s/having/have/

Oops.. Good catch!

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

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


More information about the hotspot-runtime-dev mailing list