< prev index next >
src/hotspot/share/memory/metaspace/spaceManager.cpp
Print this page
@@ -115,11 +115,11 @@
size_t chunk_word_size;
// Special case for hidden metadata space.
// ClassMirrorHolder metadata space is usually small since it is used for
// class loader data's whose life cycle is governed by one class such as a
- // weak hidden or unsafe anonymous class. The majority within 1K - 2K range and
+ // non-strong hidden class or unsafe anonymous class. The majority within 1K - 2K range and
// rarely about 4K (64-bits JVM).
// Instead of jumping to SmallChunk after initial chunk exhausted, keeping allocation
// from SpecializeChunk up to _anon_or_delegating_metadata_specialize_chunk_limit (4)
// reduces space waste from 60+% to around 30%.
if ((_space_type == Metaspace::ClassMirrorHolderMetaspaceType || _space_type == Metaspace::ReflectionMetaspaceType) &&
< prev index next >