--- a/src/hotspot/share/gc/g1/g1OopClosures.inline.hpp Fri Jun 22 16:06:43 2018 -0400
+++ b/src/hotspot/share/gc/g1/g1OopClosures.inline.hpp Fri Jun 22 17:46:58 2018 -0400
@@ -256,7 +256,7 @@
forwardee = _par_scan_state->copy_to_survivor_space(state, obj, m);
}
assert(forwardee != NULL, "forwardee should not be NULL");
- RawAccess<OOP_NOT_NULL>::oop_store(p, forwardee);
+ RawAccess<IS_NOT_NULL>::oop_store(p, forwardee);
if (do_mark_object != G1MarkNone && forwardee != obj) {
// If the object is self-forwarded we don't need to explicitly
// mark it, the evacuation failure protocol will do so.