hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp
changeset 4571 80b553bddc26
parent 3820 0a8fbbe180db
child 5547 f4b087cbb361
equal deleted inserted replaced
4569:f372ea9e5ed4 4571:80b553bddc26
  3212     // compare_and_normalize_class_versions has already checked:
  3212     // compare_and_normalize_class_versions has already checked:
  3213     //  - classloaders unchanged, signatures unchanged
  3213     //  - classloaders unchanged, signatures unchanged
  3214     //  - all instanceKlasses for redefined classes reused & contents updated
  3214     //  - all instanceKlasses for redefined classes reused & contents updated
  3215     the_class->vtable()->initialize_vtable(false, THREAD);
  3215     the_class->vtable()->initialize_vtable(false, THREAD);
  3216     the_class->itable()->initialize_itable(false, THREAD);
  3216     the_class->itable()->initialize_itable(false, THREAD);
  3217     assert(!HAS_PENDING_EXCEPTION || (THREAD->pending_exception()->is_a(SystemDictionary::threaddeath_klass())), "redefine exception");
  3217     assert(!HAS_PENDING_EXCEPTION || (THREAD->pending_exception()->is_a(SystemDictionary::ThreadDeath_klass())), "redefine exception");
  3218   }
  3218   }
  3219 
  3219 
  3220   // Leave arrays of jmethodIDs and itable index cache unchanged
  3220   // Leave arrays of jmethodIDs and itable index cache unchanged
  3221 
  3221 
  3222   // Copy the "source file name" attribute from new class version
  3222   // Copy the "source file name" attribute from new class version