--- old/src/hotspot/share/runtime/jniHandles.inline.hpp 2018-06-13 04:31:25.188877316 -0400 +++ new/src/hotspot/share/runtime/jniHandles.inline.hpp 2018-06-13 04:31:24.872860721 -0400 @@ -57,7 +57,7 @@ if (is_jweak(handle)) { // Unlikely result = resolve_jweak(handle); } else { - result = RootAccess::oop_load(jobject_ptr(handle)); + result = NativeAccess::oop_load(jobject_ptr(handle)); // Construction of jobjects canonicalize a null value into a null // jobject, so for non-jweak the pointee should never be null. assert(external_guard || result != NULL, "Invalid JNI handle"); @@ -83,7 +83,7 @@ inline void JNIHandles::destroy_local(jobject handle) { if (handle != NULL) { assert(!is_jweak(handle), "Invalid JNI local handle"); - RootAccess<>::oop_store(jobject_ptr(handle), (oop)NULL); + NativeAccess<>::oop_store(jobject_ptr(handle), (oop)NULL); } }