< prev index next >
src/hotspot/share/runtime/jniHandles.inline.hpp
Print this page
rev 50745 : imported patch remove_in_concurrent_root
@@ -55,11 +55,11 @@
assert(!current_thread_in_native(), "must not be in native");
oop result;
if (is_jweak(handle)) { // Unlikely
result = resolve_jweak(handle);
} else {
- result = NativeAccess<IN_CONCURRENT_ROOT>::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");
}
return result;
< prev index next >