< prev index next >

src/hotspot/share/classfile/classLoaderData.cpp

Print this page

        

*** 603,615 **** // Some items on the _deallocate_list need to free their C heap structures // if they are not already on the _klasses list. free_deallocate_list_C_heap_structures(); ! // Tell serviceability tools these classes are unloading // after erroneous classes are released. ! classes_do(InstanceKlass::notify_unload_class); // Clean up global class iterator for compiler static_klass_iterator.adjust_saved_class(this); } --- 603,616 ---- // Some items on the _deallocate_list need to free their C heap structures // if they are not already on the _klasses list. free_deallocate_list_C_heap_structures(); ! // Clean up class dependencies and tell serviceability tools ! // these classes are unloading. Must be called // after erroneous classes are released. ! classes_do(InstanceKlass::unload_class); // Clean up global class iterator for compiler static_klass_iterator.adjust_saved_class(this); }
< prev index next >