< prev index next >

src/hotspot/share/oops/instanceKlass.hpp

Print this page

        

@@ -1263,11 +1263,11 @@
  public:
   u2 idnum_allocated_count() const      { return _idnum_allocated_count; }
 
 public:
   void set_in_error_state() {
-    assert(DumpSharedSpaces, "only call this when dumping archive");
+    Arguments::assert_is_dumping_archive();
     _init_state = initialization_error;
   }
   bool check_sharing_error_state();
 
 private:
< prev index next >