equal
deleted
inserted
replaced
28 #include "gc/g1/g1CodeRootSetTable.hpp" |
28 #include "gc/g1/g1CodeRootSetTable.hpp" |
29 #include "gc/g1/g1CodeCacheRemSet.hpp" |
29 #include "gc/g1/g1CodeCacheRemSet.hpp" |
30 #include "gc/g1/heapRegion.hpp" |
30 #include "gc/g1/heapRegion.hpp" |
31 #include "memory/heap.hpp" |
31 #include "memory/heap.hpp" |
32 #include "memory/iterator.hpp" |
32 #include "memory/iterator.hpp" |
|
33 #include "oops/access.inline.hpp" |
33 #include "oops/oop.inline.hpp" |
34 #include "oops/oop.inline.hpp" |
34 #include "utilities/hashtable.inline.hpp" |
35 #include "utilities/hashtable.inline.hpp" |
35 #include "utilities/stack.inline.hpp" |
36 #include "utilities/stack.inline.hpp" |
36 |
37 |
37 G1CodeRootSetTable* volatile G1CodeRootSetTable::_purge_list = NULL; |
38 G1CodeRootSetTable* volatile G1CodeRootSetTable::_purge_list = NULL; |
272 do_oop_work(o); |
273 do_oop_work(o); |
273 } |
274 } |
274 |
275 |
275 template <typename T> |
276 template <typename T> |
276 void do_oop_work(T* p) { |
277 void do_oop_work(T* p) { |
277 if (_hr->is_in(oopDesc::load_decode_heap_oop(p))) { |
278 if (_hr->is_in(RawAccess<>::oop_load(p))) { |
278 _points_into = true; |
279 _points_into = true; |
279 } |
280 } |
280 } |
281 } |
281 }; |
282 }; |
282 |
283 |