< prev index next >

src/hotspot/share/memory/metaspaceTracer.cpp

Print this page

        

*** 60,70 **** MetaspaceObj::Type objtype, Metaspace::MetadataType mdtype) const { E event; if (event.should_commit()) { event.set_classLoader(cld); ! if (cld->is_unsafe_anonymous()) { event.set_unsafeAnonymousClassLoader(true); } else { event.set_unsafeAnonymousClassLoader(false); } event.set_size(word_size * BytesPerWord); --- 60,70 ---- MetaspaceObj::Type objtype, Metaspace::MetadataType mdtype) const { E event; if (event.should_commit()) { event.set_classLoader(cld); ! if (cld->is_shortlived()) { event.set_unsafeAnonymousClassLoader(true); } else { event.set_unsafeAnonymousClassLoader(false); } event.set_size(word_size * BytesPerWord);
< prev index next >