comparison src/share/vm/code/codeCache.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 da91efe96a93
children 9deda4d8e126
comparison
equal deleted inserted replaced
6762:04ed664b7e30 6787:8966c2d65d96
307 } 307 }
308 308
309 309
310 // Mark nmethods for unloading if they contain otherwise unreachable 310 // Mark nmethods for unloading if they contain otherwise unreachable
311 // oops. 311 // oops.
312 void CodeCache::do_unloading(BoolObjectClosure* is_alive, 312 void CodeCache::do_unloading(BoolObjectClosure* is_alive, bool unloading_occurred) {
313 OopClosure* keep_alive,
314 bool unloading_occurred) {
315 assert_locked_or_safepoint(CodeCache_lock); 313 assert_locked_or_safepoint(CodeCache_lock);
316 FOR_ALL_ALIVE_NMETHODS(nm) { 314 FOR_ALL_ALIVE_NMETHODS(nm) {
317 nm->do_unloading(is_alive, keep_alive, unloading_occurred); 315 nm->do_unloading(is_alive, unloading_occurred);
318 } 316 }
319 } 317 }
320 318
321 void CodeCache::blobs_do(CodeBlobClosure* f) { 319 void CodeCache::blobs_do(CodeBlobClosure* f) {
322 assert_locked_or_safepoint(CodeCache_lock); 320 assert_locked_or_safepoint(CodeCache_lock);