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:
Bengt Rutisson 2012-09-25 14:58:12 +02:00
parent d6538dc298
commit fcae0353d2
9 changed files with 14 additions and 29 deletions

View file

@ -130,9 +130,7 @@ class CodeCache : AllStatic {
// If "unloading_occurred" is true, then unloads (i.e., breaks root links
// to) any unmarked codeBlobs in the cache. Sets "marked_for_unloading"
// to "true" iff some code got unloaded.
static void do_unloading(BoolObjectClosure* is_alive,
OopClosure* keep_alive,
bool unloading_occurred);
static void do_unloading(BoolObjectClosure* is_alive, bool unloading_occurred);
static void oops_do(OopClosure* f) {
CodeBlobToOopClosure oopc(f, /*do_marking=*/ false);
blobs_do(&oopc);