src/hotspot/share/gc/g1/g1CodeCacheRemSet.cpp
changeset 49592 77fb0be7d19f
parent 47634 6a0c42c40cd1
child 52631 3009ca99de32
--- a/src/hotspot/share/gc/g1/g1CodeCacheRemSet.cpp	Fri Mar 23 12:55:39 2018 +0100
+++ b/src/hotspot/share/gc/g1/g1CodeCacheRemSet.cpp	Thu Mar 15 21:24:10 2018 +0100
@@ -30,6 +30,7 @@
 #include "gc/g1/heapRegion.hpp"
 #include "memory/heap.hpp"
 #include "memory/iterator.hpp"
+#include "oops/access.inline.hpp"
 #include "oops/oop.inline.hpp"
 #include "utilities/hashtable.inline.hpp"
 #include "utilities/stack.inline.hpp"
@@ -274,7 +275,7 @@
 
     template <typename T>
     void do_oop_work(T* p) {
-      if (_hr->is_in(oopDesc::load_decode_heap_oop(p))) {
+      if (_hr->is_in(RawAccess<>::oop_load(p))) {
         _points_into = true;
       }
     }