Mercurial > hg > truffle
diff src/share/vm/gc_implementation/shared/markSweep.hpp @ 1000:a1423fe86a18
Merge
author | trims |
---|---|
date | Fri, 09 Oct 2009 15:18:52 -0700 |
parents | 89e0543e1737 753cf9794df9 |
children | 2a1472c30599 |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/shared/markSweep.hpp Fri Oct 02 11:26:25 2009 -0700 +++ b/src/share/vm/gc_implementation/shared/markSweep.hpp Fri Oct 09 15:18:52 2009 -0700 @@ -58,14 +58,12 @@ public: virtual void do_oop(oop* p); virtual void do_oop(narrowOop* p); - virtual const bool do_nmethods() const { return true; } }; class MarkAndPushClosure: public OopClosure { public: virtual void do_oop(oop* p); virtual void do_oop(narrowOop* p); - virtual const bool do_nmethods() const { return true; } virtual const bool should_remember_mdo() const { return true; } virtual void remember_mdo(DataLayout* p) { MarkSweep::revisit_mdo(p); } }; @@ -173,6 +171,7 @@ public: // Public closures static FollowRootClosure follow_root_closure; + static CodeBlobToOopClosure follow_code_root_closure; // => follow_root_closure static MarkAndPushClosure mark_and_push_closure; static FollowStackClosure follow_stack_closure; static AdjustPointerClosure adjust_root_pointer_closure;