diff 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
line wrap: on
line diff
--- a/src/share/vm/code/codeCache.cpp	Fri Sep 21 14:39:56 2012 -0700
+++ b/src/share/vm/code/codeCache.cpp	Tue Sep 25 14:58:12 2012 +0200
@@ -309,12 +309,10 @@
 
 // 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);
   }
 }