--- old/src/hotspot/share/gc/g1/dirtyCardQueue.cpp 2017-10-10 17:29:21.367845945 -0400 +++ new/src/hotspot/share/gc/g1/dirtyCardQueue.cpp 2017-10-10 17:29:20.798345778 -0400 @@ -280,7 +280,7 @@ BufferNode* nd = _cur_par_buffer_node; while (nd != NULL) { BufferNode* next = nd->next(); - void* actual = Atomic::cmpxchg_ptr(next, &_cur_par_buffer_node, nd); + void* actual = Atomic::cmpxchg(next, &_cur_par_buffer_node, nd); if (actual == nd) { bool b = apply_closure_to_buffer(cl, nd, false); guarantee(b, "Should not stop early.");