hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp
changeset 22503 45d730e9202e
parent 22231 1cca24bb3125
child 24424 2658d7834c6e
equal deleted inserted replaced
22502:f8adbdb312a1 22503:45d730e9202e
   144     // Free the memory for this class at class unloading time.  Not before
   144     // Free the memory for this class at class unloading time.  Not before
   145     // because CMS might think this is still live.
   145     // because CMS might think this is still live.
   146     cld->add_to_deallocate_list((InstanceKlass*)_scratch_classes[i]);
   146     cld->add_to_deallocate_list((InstanceKlass*)_scratch_classes[i]);
   147     _scratch_classes[i] = NULL;
   147     _scratch_classes[i] = NULL;
   148   }
   148   }
       
   149 
       
   150   // Disable any dependent concurrent compilations
       
   151   SystemDictionary::notice_modification();
   149 
   152 
   150   // Set flag indicating that some invariants are no longer true.
   153   // Set flag indicating that some invariants are no longer true.
   151   // See jvmtiExport.hpp for detailed explanation.
   154   // See jvmtiExport.hpp for detailed explanation.
   152   JvmtiExport::set_has_redefined_a_class();
   155   JvmtiExport::set_has_redefined_a_class();
   153 
   156