hg: jdk/sandbox: 8251860: ClassLoaderData::loaded_classes_do fails with "assert(ZAddress::is_marked(addr)) failed: Should be marked"

chris.hegarty at oracle.com chris.hegarty at oracle.com
Tue Sep 1 15:45:22 UTC 2020


Changeset: 1e20fdeca15a
Author:    ccheung
Date:      2020-09-01 15:42 +0000
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/1e20fdeca15a

8251860: ClassLoaderData::loaded_classes_do fails with "assert(ZAddress::is_marked(addr)) failed: Should be marked"
Summary: Call ClassLoaderDataGraph::loaded_cld_do to collect ClassLoaderData in a GrowableArray and then walk through them to link the classes in each ClassLoaderData.
Reviewed-by: coleenp, iklam

! src/hotspot/share/classfile/classLoaderData.cpp
! src/hotspot/share/classfile/classLoaderDataGraph.cpp
! src/hotspot/share/classfile/classLoaderDataGraph.hpp
! src/hotspot/share/memory/metaspaceShared.cpp
! src/hotspot/share/memory/metaspaceShared.hpp
! test/hotspot/jtreg/runtime/cds/DumpSymbolAndStringTable.java



More information about the jdk-sandbox-changes mailing list