339 static void always_strong_oops_do(OopClosure* blk); |
339 static void always_strong_oops_do(OopClosure* blk); |
340 static void always_strong_classes_do(KlassClosure* closure); |
340 static void always_strong_classes_do(KlassClosure* closure); |
341 |
341 |
342 // Unload (that is, break root links to) all unmarked classes and |
342 // Unload (that is, break root links to) all unmarked classes and |
343 // loaders. Returns "true" iff something was unloaded. |
343 // loaders. Returns "true" iff something was unloaded. |
344 static bool do_unloading(BoolObjectClosure* is_alive); |
344 static bool do_unloading(BoolObjectClosure* is_alive, bool clean_alive = true); |
345 |
345 |
346 // Used by DumpSharedSpaces only to remove classes that failed verification |
346 // Used by DumpSharedSpaces only to remove classes that failed verification |
347 static void remove_classes_in_error_state(); |
347 static void remove_classes_in_error_state(); |
348 |
348 |
349 static int calculate_systemdictionary_size(int loadedclasses); |
349 static int calculate_systemdictionary_size(int loadedclasses); |