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
|
@ -309,12 +309,10 @@ int CodeCache::alignment_offset() {
|
|||
|
||||
// Mark nmethods for unloading if they contain otherwise unreachable
|
||||
// oops.
|
||||
void CodeCache::do_unloading(BoolObjectClosure* is_alive,
|
||||
OopClosure* keep_alive,
|
||||
bool unloading_occurred) {
|
||||
void CodeCache::do_unloading(BoolObjectClosure* is_alive, bool unloading_occurred) {
|
||||
assert_locked_or_safepoint(CodeCache_lock);
|
||||
FOR_ALL_ALIVE_NMETHODS(nm) {
|
||||
nm->do_unloading(is_alive, keep_alive, unloading_occurred);
|
||||
nm->do_unloading(is_alive, unloading_occurred);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue