RFR: 8281267: VM HeapDumper dumps array classes several times
Alex Menkov
amenkov at openjdk.java.net
Tue Feb 8 16:55:42 UTC 2022
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)
-------------
Commit messages:
- JDK-8281267
Changes: https://git.openjdk.java.net/jdk/pull/7384/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7384&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8281267
Stats: 361 lines in 2 files changed: 338 ins; 10 del; 13 mod
Patch: https://git.openjdk.java.net/jdk/pull/7384.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/7384/head:pull/7384
PR: https://git.openjdk.java.net/jdk/pull/7384
More information about the hotspot-runtime-dev
mailing list