< prev index next >

src/hotspot/share/memory/metaspaceTracer.cpp

Print this page

        

*** 64,74 **** event.set_classLoader(cld); event.set_unsafeAnonymousClassLoader(false); // initialize these event.set_hiddenClassLoader(false); if (cld->has_class_mirror_holder()) { assert(cld->klasses() != NULL, "unexpected NULL for cld->klasses()"); ! if (cld->klasses()->is_hidden_weak()) { event.set_hiddenClassLoader(true); } else { event.set_unsafeAnonymousClassLoader(true); } } --- 64,74 ---- event.set_classLoader(cld); event.set_unsafeAnonymousClassLoader(false); // initialize these event.set_hiddenClassLoader(false); if (cld->has_class_mirror_holder()) { assert(cld->klasses() != NULL, "unexpected NULL for cld->klasses()"); ! if (cld->klasses()->is_non_strong_hidden()) { event.set_hiddenClassLoader(true); } else { event.set_unsafeAnonymousClassLoader(true); } }
< prev index next >