mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
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:
parent
d6538dc298
commit
fcae0353d2
9 changed files with 14 additions and 29 deletions
|
@ -5954,9 +5954,7 @@ void CMSCollector::refProcessingWork(bool asynch, bool clear_all_soft_refs) {
|
|||
bool purged_class = SystemDictionary::do_unloading(&_is_alive_closure);
|
||||
|
||||
// Follow CodeCache roots and unload any methods marked for unloading
|
||||
CodeCache::do_unloading(&_is_alive_closure,
|
||||
&cmsKeepAliveClosure,
|
||||
purged_class);
|
||||
CodeCache::do_unloading(&_is_alive_closure, purged_class);
|
||||
|
||||
cmsDrainMarkingStackClosure.do_void();
|
||||
verify_work_stacks_empty();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue