< prev index next > src/hotspot/share/memory/metaspace.cpp
Print this page
MetaspaceGC::initialize(); // <- since we do not prealloc init chunks anymore is this still needed?
metaspace::ChunkHeaderPool::initialize();
if (CDSConfig::is_dumping_static_archive()) {
+ if (!CDSConfig::is_dumping_final_static_archive()) {
+ assert(!CDSConfig::is_using_archive(), "sanity");
+ }
MetaspaceShared::initialize_for_static_dump();
}
// If UseCompressedClassPointers=1, we have two cases:
// a) if CDS is active (runtime, Xshare=on), it will create the class space
< prev index next >