Integrated: 8281267: VM HeapDumper dumps array classes several times

Alex Menkov amenkov at openjdk.java.net
Fri Feb 18 09:25:57 UTC 2022


On Tue, 8 Feb 2022 16:49:41 GMT, Alex Menkov <amenkov at 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)

This pull request has now been integrated.

Changeset: 138a1719
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/138a17195d1695c6faaa156a43624c39c62b141b
Stats:     463 lines in 4 files changed: 348 ins; 73 del; 42 mod

8281267: VM HeapDumper dumps array classes several times

Reviewed-by: cjplummer, coleenp

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

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


More information about the hotspot-runtime-dev mailing list