src/hotspot/share/oops/instanceKlass.hpp
changeset 53232 32c6cc430526
parent 53152 08db5aa02f7b
parent 53225 b11483a74e5d
child 53244 9807daeb47c4
equal deleted inserted replaced
53213:716c746165b2 53232:32c6cc430526
  1241   }
  1241   }
  1242   bool check_sharing_error_state();
  1242   bool check_sharing_error_state();
  1243 
  1243 
  1244 private:
  1244 private:
  1245   // initialization state
  1245   // initialization state
  1246 #ifdef ASSERT
       
  1247   void set_init_state(ClassState state);
  1246   void set_init_state(ClassState state);
  1248 #else
       
  1249   void set_init_state(ClassState state) { _init_state = (u1)state; }
       
  1250 #endif
       
  1251   void set_rewritten()                  { _misc_flags |= _misc_rewritten; }
  1247   void set_rewritten()                  { _misc_flags |= _misc_rewritten; }
  1252   void set_init_thread(Thread *thread)  { _init_thread = thread; }
  1248   void set_init_thread(Thread *thread)  { _init_thread = thread; }
  1253 
  1249 
  1254   // The RedefineClasses() API can cause new method idnums to be needed
  1250   // The RedefineClasses() API can cause new method idnums to be needed
  1255   // which will cause the caches to grow. Safety requires different
  1251   // which will cause the caches to grow. Safety requires different