< prev index next >

src/hotspot/share/oops/constantPool.cpp

Print this page

        

@@ -302,11 +302,11 @@
     set_resolved_references(NULL);
   }
 }
 
 void ConstantPool::resolve_class_constants(TRAPS) {
-  assert(DumpSharedSpaces, "used during dump time only");
+  Arguments::assert_is_dumping_archive();
   // The _cache may be NULL if the _pool_holder klass fails verification
   // at dump time due to missing dependencies.
   if (cache() == NULL || reference_map() == NULL) {
     return; // nothing to do
   }
< prev index next >