Mercurial > hg > graal-jvmci-8
comparison src/share/vm/code/nmethod.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 | f2e12eb74117 |
comparison
equal
deleted
inserted
replaced
6762:04ed664b7e30 | 6787:8966c2d65d96 |
---|---|
554 | 554 |
555 // Evolution support. We make old (discarded) compiled methods point to new Method*s. | 555 // Evolution support. We make old (discarded) compiled methods point to new Method*s. |
556 void set_method(Method* method) { _method = method; } | 556 void set_method(Method* method) { _method = method; } |
557 | 557 |
558 // GC support | 558 // GC support |
559 void do_unloading(BoolObjectClosure* is_alive, OopClosure* keep_alive, | 559 void do_unloading(BoolObjectClosure* is_alive, bool unloading_occurred); |
560 bool unloading_occurred); | 560 bool can_unload(BoolObjectClosure* is_alive, oop* root, bool unloading_occurred); |
561 bool can_unload(BoolObjectClosure* is_alive, OopClosure* keep_alive, | |
562 oop* root, bool unloading_occurred); | |
563 | 561 |
564 void preserve_callee_argument_oops(frame fr, const RegisterMap *reg_map, | 562 void preserve_callee_argument_oops(frame fr, const RegisterMap *reg_map, |
565 OopClosure* f); | 563 OopClosure* f); |
566 void oops_do(OopClosure* f) { oops_do(f, false); } | 564 void oops_do(OopClosure* f) { oops_do(f, false); } |
567 void oops_do(OopClosure* f, bool do_strong_roots_only); | 565 void oops_do(OopClosure* f, bool do_strong_roots_only); |