equal
deleted
inserted
replaced
3652 #endif |
3652 #endif |
3653 current = current->next(); |
3653 current = current->next(); |
3654 } |
3654 } |
3655 } |
3655 } |
3656 |
3656 |
|
3657 void InstanceKlass::set_init_state(ClassState state) { |
3657 #ifdef ASSERT |
3658 #ifdef ASSERT |
3658 void InstanceKlass::set_init_state(ClassState state) { |
|
3659 bool good_state = is_shared() ? (_init_state <= state) |
3659 bool good_state = is_shared() ? (_init_state <= state) |
3660 : (_init_state < state); |
3660 : (_init_state < state); |
3661 assert(good_state || state == allocated, "illegal state transition"); |
3661 assert(good_state || state == allocated, "illegal state transition"); |
|
3662 #endif |
3662 _init_state = (u1)state; |
3663 _init_state = (u1)state; |
3663 } |
3664 } |
3664 #endif |
|
3665 |
3665 |
3666 #if INCLUDE_JVMTI |
3666 #if INCLUDE_JVMTI |
3667 |
3667 |
3668 // RedefineClasses() support for previous versions |
3668 // RedefineClasses() support for previous versions |
3669 |
3669 |