comparison src/share/vm/gc_implementation/shared/markSweep.cpp @ 989:148e5441d916

6863023: need non-perm oops in code cache for JSR 292 Summary: Make a special root-list for those few nmethods which might contain non-perm oops. Reviewed-by: twisti, kvn, never, jmasa, ysr
author jrose
date Tue, 15 Sep 2009 21:53:47 -0700
parents d1605aabd0a1
children 54b3b351d6f9
comparison
equal deleted inserted replaced
987:00977607da34 989:148e5441d916
67 } 67 }
68 follow_stack(); 68 follow_stack();
69 } 69 }
70 70
71 MarkSweep::FollowRootClosure MarkSweep::follow_root_closure; 71 MarkSweep::FollowRootClosure MarkSweep::follow_root_closure;
72 CodeBlobToOopClosure MarkSweep::follow_code_root_closure(&MarkSweep::follow_root_closure, /*do_marking=*/ true);
72 73
73 void MarkSweep::FollowRootClosure::do_oop(oop* p) { follow_root(p); } 74 void MarkSweep::FollowRootClosure::do_oop(oop* p) { follow_root(p); }
74 void MarkSweep::FollowRootClosure::do_oop(narrowOop* p) { follow_root(p); } 75 void MarkSweep::FollowRootClosure::do_oop(narrowOop* p) { follow_root(p); }
75 76
76 MarkSweep::MarkAndPushClosure MarkSweep::mark_and_push_closure; 77 MarkSweep::MarkAndPushClosure MarkSweep::mark_and_push_closure;