comparison src/share/vm/gc_implementation/parallelScavenge/psMarkSweep.cpp @ 6787:8966c2d65d96

7200470: KeepAliveClosure not needed in CodeCache::do_unloading Summary: Removed the unused keep_alive parameter Reviewed-by: stefank, dholmes, kamg, coleenp
author brutisso
date Tue, 25 Sep 2012 14:58:12 +0200
parents da91efe96a93
children 4202510ee0fe
comparison
equal deleted inserted replaced
6762:04ed664b7e30 6787:8966c2d65d96
519 519
520 // Follow system dictionary roots and unload classes 520 // Follow system dictionary roots and unload classes
521 bool purged_class = SystemDictionary::do_unloading(is_alive_closure()); 521 bool purged_class = SystemDictionary::do_unloading(is_alive_closure());
522 522
523 // Follow code cache roots 523 // Follow code cache roots
524 CodeCache::do_unloading(is_alive_closure(), mark_and_push_closure(), 524 CodeCache::do_unloading(is_alive_closure(), purged_class);
525 purged_class);
526 follow_stack(); // Flush marking stack 525 follow_stack(); // Flush marking stack
527 526
528 // Update subklass/sibling/implementor links of live klasses 527 // Update subklass/sibling/implementor links of live klasses
529 Klass::clean_weak_klass_links(&is_alive); 528 Klass::clean_weak_klass_links(&is_alive);
530 assert(_marking_stack.is_empty(), "just drained"); 529 assert(_marking_stack.is_empty(), "just drained");