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

Thomas Stuefe stuefe at openjdk.java.net
Wed Oct 27 04:44:11 UTC 2021


On Tue, 26 Oct 2021 02:28:44 GMT, Yi Yang <yyang at openjdk.org> wrote:

>> src/hotspot/share/memory/metaspace/printMetaspaceInfoKlassClosure.cpp line 50:
>> 
>>> 48: 
>>> 49:   ResourceMark rm;
>>> 50:   _out->print("  %s (" INTPTR_FORMAT ")", k->external_name(), p2i(k));
>> 
>> Why do we need the address printed?
>
> I guess this would facilitate further debugging. I will remove them if you think they are not necessary.

Please remove it. Its not needed in this context.

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

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


More information about the hotspot-runtime-dev mailing list