mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +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
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue