--- 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