On Tue, 8 Feb 2022 16:49:41 GMT, Alex Menkov <amen...@openjdk.org> wrote:
> ClassLoaderDataGraph::classes_do description says: > // Walking classes through the ClassLoaderDataGraph include array classes. > So do_load_class callback should not dump arrays for the classes and dumper > doesn't need to call Universe::basic_type_classes_do (array classes for > primitive types are also reported by ClassLoaderDataGraph::classes_do) src/hotspot/share/services/heapDumper.cpp line 2293: > 2291: // Writes HPROF_GC_CLASS_DUMP records > 2292: // For array classes we need signers and protection domain from > their bottom classes > 2293: // so do_class_dump skips array classes and dumps array classes > with corresponding instance class. I'm having trouble parsing this comment. Can you clarify? ------------- PR: https://git.openjdk.java.net/jdk/pull/7384