changeset 52835:aa5a1e960750 nestmates

Summary: Fix information printed out concerning ClassLoaderData's that are short-lived in PrintCLDMetaspaceInfoClosure::do_cld Reviewed-by: dholmes, mchung
author lfoltan
date Mon, 19 Nov 2018 15:03:29 -0500
parents e500393dff99
children 238251ba45b1
files src/hotspot/share/memory/metaspace/printCLDMetaspaceInfoClosure.cpp
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/memory/metaspace/printCLDMetaspaceInfoClosure.cpp	Wed Nov 14 22:22:05 2018 -0500
+++ b/src/hotspot/share/memory/metaspace/printCLDMetaspaceInfoClosure.cpp	Mon Nov 19 15:03:29 2018 -0500
@@ -103,11 +103,7 @@
     }
     _out->print(":");
     if (cld->is_shortlived()) {
-      if (InstanceKlass::cast(k)->is_unsafe_anonymous()) {
-        _out->print(" <unsafe anonymous class>, loaded by");
-      } else { 
-        _out->print(" <weak nonfindable class>, loaded by");
-      }
+      _out->print(" <weak nonfindable class>, loaded by");
     }
     if (name != NULL) {
       _out->print(" \"%s\"", name);