RFR: 8281267: VM HeapDumper dumps array classes several times [v3]

Alex Menkov amenkov at openjdk.java.net
Thu Feb 17 12:48:11 UTC 2022


On Thu, 17 Feb 2022 00:34:04 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   reworked do_class_dump
>
> src/hotspot/share/services/heapDumper.cpp line 2305:
> 
>> 2303:       ClassLoaderDataGraph::classes_do(&locked_dump_class);
>> 2304:     }
>> 2305:     Universe::basic_type_classes_do(&do_basic_type_array_class_dump);
> 
> If this is the last use of this function, you could remove this variant of this function from Universe.

It's still used in JvmtiGetLoadedClasses::getClassLoaderClasses()

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

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


More information about the hotspot-runtime-dev mailing list