< prev index next >
src/hotspot/share/runtime/jniHandles.inline.hpp
Print this page
*** 66,76 ****
}
inline oop JNIHandles::resolve(jobject handle) {
oop result = NULL;
if (handle != NULL) {
! result = resolve_impl<0 /* decorators */, false /* external_guard */>(handle);
}
return result;
}
inline oop JNIHandles::resolve_no_keepalive(jobject handle) {
--- 66,76 ----
}
inline oop JNIHandles::resolve(jobject handle) {
oop result = NULL;
if (handle != NULL) {
! result = resolve_impl<DECORATORS_NONE, false /* external_guard */>(handle);
}
return result;
}
inline oop JNIHandles::resolve_no_keepalive(jobject handle) {
*** 87,97 ****
return oopDesc::equals(obj1, obj2);
}
inline oop JNIHandles::resolve_non_null(jobject handle) {
assert(handle != NULL, "JNI handle should not be null");
! oop result = resolve_impl<0 /* decorators */, false /* external_guard */>(handle);
assert(result != NULL, "NULL read from jni handle");
return result;
}
inline void JNIHandles::destroy_local(jobject handle) {
--- 87,97 ----
return oopDesc::equals(obj1, obj2);
}
inline oop JNIHandles::resolve_non_null(jobject handle) {
assert(handle != NULL, "JNI handle should not be null");
! oop result = resolve_impl<DECORATORS_NONE, false /* external_guard */>(handle);
assert(result != NULL, "NULL read from jni handle");
return result;
}
inline void JNIHandles::destroy_local(jobject handle) {
< prev index next >