src/hotspot/share/classfile/classLoaderData.cpp
changeset 51887 32161fbea3fe
parent 51747 9bf5205655ee
child 51959 db0c3952de52
equal deleted inserted replaced
51883:7e78be444e68 51887:32161fbea3fe
   603 
   603 
   604   // Some items on the _deallocate_list need to free their C heap structures
   604   // Some items on the _deallocate_list need to free their C heap structures
   605   // if they are not already on the _klasses list.
   605   // if they are not already on the _klasses list.
   606   free_deallocate_list_C_heap_structures();
   606   free_deallocate_list_C_heap_structures();
   607 
   607 
   608   // Tell serviceability tools these classes are unloading
   608   // Clean up class dependencies and tell serviceability tools
       
   609   // these classes are unloading.  Must be called
   609   // after erroneous classes are released.
   610   // after erroneous classes are released.
   610   classes_do(InstanceKlass::notify_unload_class);
   611   classes_do(InstanceKlass::unload_class);
   611 
   612 
   612   // Clean up global class iterator for compiler
   613   // Clean up global class iterator for compiler
   613   static_klass_iterator.adjust_saved_class(this);
   614   static_klass_iterator.adjust_saved_class(this);
   614 }
   615 }
   615 
   616