src/hotspot/share/gc/g1/g1OopClosures.inline.hpp
changeset 49744 5dcc893ad119
parent 49722 a47d1e21b3f1
child 49806 2d62570a615c
--- a/src/hotspot/share/gc/g1/g1OopClosures.inline.hpp	Wed Apr 11 11:37:19 2018 +0200
+++ b/src/hotspot/share/gc/g1/g1OopClosures.inline.hpp	Wed Apr 11 11:41:30 2018 +0200
@@ -248,7 +248,7 @@
       forwardee = _par_scan_state->copy_to_survivor_space(state, obj, m);
     }
     assert(forwardee != NULL, "forwardee should not be NULL");
-    RawAccess<>::oop_store(p, forwardee);
+    RawAccess<OOP_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.