src/hotspot/share/oops/constantPool.cpp
changeset 53322 8ba5b3c76857
parent 52934 8deeb7bba516
child 53552 0f5fd67d0886
--- a/src/hotspot/share/oops/constantPool.cpp	Tue Aug 28 13:22:57 2018 +0530
+++ b/src/hotspot/share/oops/constantPool.cpp	Mon Sep 10 16:49:01 2018 -0400
@@ -504,10 +504,6 @@
     }
   }
 
-  // Make this class loader depend upon the class loader owning the class reference
-  ClassLoaderData* this_key = this_cp->pool_holder()->class_loader_data();
-  this_key->record_dependency(k);
-
   // logging for class+resolve.
   if (log_is_enabled(Debug, class, resolve)){
     trace_class_resolution(this_cp, k);