src/hotspot/share/oops/constantPool.cpp
changeset 53584 f72661ff0294
parent 53560 b92b0baa7afd
child 53590 ce36f8180d03
--- a/src/hotspot/share/oops/constantPool.cpp	Thu Jan 31 07:24:28 2019 -0500
+++ b/src/hotspot/share/oops/constantPool.cpp	Thu Jan 31 07:28:40 2019 -0500
@@ -2523,11 +2523,6 @@
       guarantee(entry.get_symbol()->refcount() != 0, "should have nonzero reference count");
     }
   }
-  if (cache() != NULL) {
-    // Note: cache() can be NULL before a class is completely setup or
-    // in temporary constant pools used during constant pool merging
-    guarantee(cache()->is_constantPoolCache(), "should be constant pool cache");
-  }
   if (pool_holder() != NULL) {
     // Note: pool_holder() can be NULL in temporary constant pools
     // used during constant pool merging