< prev index next >

src/hotspot/share/memory/metaspace/printCLDMetaspaceInfoClosure.cpp

Print this page

        

*** 76,86 **** if (_do_print) { _out->print(UINTX_FORMAT_W(4) ": ", _num_loaders); // Print "CLD for [<loader name>,] instance of <loader class name>" ! // or "CLD for <anonymous class>, loaded by [<loader name>,] instance of <loader class name>" ResourceMark rm; const char* name = NULL; const char* class_name = NULL; --- 76,86 ---- if (_do_print) { _out->print(UINTX_FORMAT_W(4) ": ", _num_loaders); // Print "CLD for [<loader name>,] instance of <loader class name>" ! // or "CLD for <weak nonfindable class>, loaded by [<loader name>,] instance of <loader class name>" ResourceMark rm; const char* name = NULL; const char* class_name = NULL;
*** 100,111 **** _out->print("CLD " PTR_FORMAT, p2i(cld)); if (cld->is_unloading()) { _out->print(" (unloading)"); } _out->print(":"); ! if (cld->is_unsafe_anonymous()) { ! _out->print(" <anonymous class>, loaded by"); } if (name != NULL) { _out->print(" \"%s\"", name); } if (class_name != NULL) { --- 100,111 ---- _out->print("CLD " PTR_FORMAT, p2i(cld)); if (cld->is_unloading()) { _out->print(" (unloading)"); } _out->print(":"); ! if (cld->is_shortlived()) { ! _out->print(" <weak nonfindable class>, loaded by"); } if (name != NULL) { _out->print(" \"%s\"", name); } if (class_name != NULL) {
< prev index next >