mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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
|
@ -2375,8 +2375,7 @@ void PSParallelCompact::marking_phase(ParCompactionManager* cm,
|
|||
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);
|
||||
cm->follow_marking_stacks(); // Flush marking stack.
|
||||
|
||||
// Update subklass/sibling/implementor links of live klasses
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue