Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.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 | bc675e55b48c |
children | 8e47bac5643a 4202510ee0fe |
comparison
equal
deleted
inserted
replaced
6762:04ed664b7e30 | 6787:8966c2d65d96 |
---|---|
5952 | 5952 |
5953 // Follow SystemDictionary roots and unload classes | 5953 // Follow SystemDictionary roots and unload classes |
5954 bool purged_class = SystemDictionary::do_unloading(&_is_alive_closure); | 5954 bool purged_class = SystemDictionary::do_unloading(&_is_alive_closure); |
5955 | 5955 |
5956 // Follow CodeCache roots and unload any methods marked for unloading | 5956 // Follow CodeCache roots and unload any methods marked for unloading |
5957 CodeCache::do_unloading(&_is_alive_closure, | 5957 CodeCache::do_unloading(&_is_alive_closure, purged_class); |
5958 &cmsKeepAliveClosure, | |
5959 purged_class); | |
5960 | 5958 |
5961 cmsDrainMarkingStackClosure.do_void(); | 5959 cmsDrainMarkingStackClosure.do_void(); |
5962 verify_work_stacks_empty(); | 5960 verify_work_stacks_empty(); |
5963 | 5961 |
5964 // Update subklass/sibling/implementor links in KlassKlass descendants | 5962 // Update subklass/sibling/implementor links in KlassKlass descendants |