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); |