--- 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;
}
}