--- old/src/hotspot/share/prims/jni.cpp 2017-10-11 09:36:55.752297090 -0400 +++ new/src/hotspot/share/prims/jni.cpp 2017-10-11 09:36:55.227954979 -0400 @@ -3775,7 +3775,7 @@ intptr_t *a = (intptr_t *) jni_functions(); intptr_t *b = (intptr_t *) new_jni_NativeInterface; for (uint i=0; i < sizeof(struct JNINativeInterface_)/sizeof(void *); i++) { - Atomic::store_ptr(*b++, a++); + Atomic::store(*b++, a++); } } @@ -3898,9 +3898,9 @@ jint a = 0xcafebabe; jint b = Atomic::xchg(0xdeadbeef, &a); void *c = &a; - void *d = Atomic::xchg_ptr(&b, &c); + void *d = Atomic::xchg(&b, &c); assert(a == (jint) 0xdeadbeef && b == (jint) 0xcafebabe, "Atomic::xchg() works"); - assert(c == &b && d == &a, "Atomic::xchg_ptr() works"); + assert(c == &b && d == &a, "Atomic::xchg() works"); } #endif // ZERO && ASSERT