src/share/vm/prims/jvmtiRedefineClasses.cpp

changeset 6222
d7773b29c65a
parent 6190
22c88c127fa4
child 6680
78bbf4d43a14
equal deleted inserted replaced
6221:84df3d405315 6222:d7773b29c65a
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

mercurial