src/hotspot/share/oops/constantPool.cpp
changeset 49348 fde3feaaa4ed
parent 49340 4e82736053ae
child 49360 886acec3b4c6
--- a/src/hotspot/share/oops/constantPool.cpp	Tue Mar 06 08:36:44 2018 +0100
+++ b/src/hotspot/share/oops/constantPool.cpp	Tue Mar 06 17:15:16 2018 -0500
@@ -499,7 +499,7 @@
 
   // 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, CHECK_NULL); // Can throw OOM
+  this_key->record_dependency(k);
 
   // logging for class+resolve.
   if (log_is_enabled(Debug, class, resolve)){