equal
deleted
inserted
replaced
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 |