Mercurial > hg > graal-compiler
comparison src/share/vm/code/codeCache.hpp @ 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 |
---|---|
128 static void gc_prologue(); | 128 static void gc_prologue(); |
129 static void verify_oops(); | 129 static void verify_oops(); |
130 // If "unloading_occurred" is true, then unloads (i.e., breaks root links | 130 // If "unloading_occurred" is true, then unloads (i.e., breaks root links |
131 // to) any unmarked codeBlobs in the cache. Sets "marked_for_unloading" | 131 // to) any unmarked codeBlobs in the cache. Sets "marked_for_unloading" |
132 // to "true" iff some code got unloaded. | 132 // to "true" iff some code got unloaded. |
133 static void do_unloading(BoolObjectClosure* is_alive, | 133 static void do_unloading(BoolObjectClosure* is_alive, bool unloading_occurred); |
134 OopClosure* keep_alive, | |
135 bool unloading_occurred); | |
136 static void oops_do(OopClosure* f) { | 134 static void oops_do(OopClosure* f) { |
137 CodeBlobToOopClosure oopc(f, /*do_marking=*/ false); | 135 CodeBlobToOopClosure oopc(f, /*do_marking=*/ false); |
138 blobs_do(&oopc); | 136 blobs_do(&oopc); |
139 } | 137 } |
140 static void asserted_non_scavengable_nmethods_do(CodeBlobClosure* f = NULL) PRODUCT_RETURN; | 138 static void asserted_non_scavengable_nmethods_do(CodeBlobClosure* f = NULL) PRODUCT_RETURN; |