equal
deleted
inserted
replaced
125 MarkSweep::FollowStackClosure MarkSweep::follow_stack_closure; |
125 MarkSweep::FollowStackClosure MarkSweep::follow_stack_closure; |
126 |
126 |
127 void MarkSweep::FollowStackClosure::do_void() { follow_stack(); } |
127 void MarkSweep::FollowStackClosure::do_void() { follow_stack(); } |
128 |
128 |
129 template <class T> inline void MarkSweep::follow_root(T* p) { |
129 template <class T> inline void MarkSweep::follow_root(T* p) { |
130 assert(!Universe::heap()->is_in_reserved(p), |
130 assert(!Universe::heap()->is_in(p), |
131 "roots shouldn't be things within the heap"); |
131 "roots shouldn't be things within the heap"); |
132 T heap_oop = RawAccess<>::oop_load(p); |
132 T heap_oop = RawAccess<>::oop_load(p); |
133 if (!CompressedOops::is_null(heap_oop)) { |
133 if (!CompressedOops::is_null(heap_oop)) { |
134 oop obj = CompressedOops::decode_not_null(heap_oop); |
134 oop obj = CompressedOops::decode_not_null(heap_oop); |
135 if (!obj->mark_raw().is_marked()) { |
135 if (!obj->mark_raw().is_marked()) { |