7200470: KeepAliveClosure not needed in CodeCache::do_unloading

Removed the unused keep_alive parameter

Reviewed-by: stefank, dholmes, kamg, coleenp
This commit is contained in:
Bengt Rutisson 2012-09-25 14:58:12 +02:00
parent d6538dc298
commit fcae0353d2
9 changed files with 14 additions and 29 deletions

View file

@ -521,8 +521,7 @@ void PSMarkSweep::mark_sweep_phase1(bool clear_all_softrefs) {
bool purged_class = SystemDictionary::do_unloading(is_alive_closure());
// Follow code cache roots
CodeCache::do_unloading(is_alive_closure(), mark_and_push_closure(),
purged_class);
CodeCache::do_unloading(is_alive_closure(), purged_class);
follow_stack(); // Flush marking stack
// Update subklass/sibling/implementor links of live klasses