src/share/vm/oops/instanceKlass.cpp

changeset 9799
2c1e9fab6964
parent 9792
9a7135d0a309
child 9806
758c07667682
child 9896
1b8c45b8216a
equal deleted inserted replaced
9798:5bd0e0bcb152 9799:2c1e9fab6964
3603 #ifdef ASSERT 3603 #ifdef ASSERT
3604 void InstanceKlass::set_init_state(ClassState state) { 3604 void InstanceKlass::set_init_state(ClassState state) {
3605 bool good_state = is_shared() ? (_init_state <= state) 3605 bool good_state = is_shared() ? (_init_state <= state)
3606 : (_init_state < state); 3606 : (_init_state < state);
3607 assert(good_state || state == allocated, "illegal state transition"); 3607 assert(good_state || state == allocated, "illegal state transition");
3608 set_initialization_state_and_notify_implassert(_init_thread == NULL, "should be cleared before state change"); 3608 assert(_init_thread == NULL, "should be cleared before state change");
3609 _init_state = (u1)state; 3609 _init_state = (u1)state;
3610 } 3610 }
3611 #endif 3611 #endif
3612 3612
3613 3613

mercurial