< prev index next >

src/hotspot/share/runtime/jniHandles.inline.hpp

Print this page
*** 102,16 ***
      result = resolve_impl<AS_NO_KEEPALIVE, false /* external_guard */>(handle);
    }
    return result;
  }
  
- inline bool JNIHandles::is_same_object(jobject handle1, jobject handle2) {
-   oop obj1 = resolve_no_keepalive(handle1);
-   oop obj2 = resolve_no_keepalive(handle2);
-   return obj1 == obj2;
- }
- 
  inline oop JNIHandles::resolve_non_null(jobject handle) {
    assert(handle != nullptr, "JNI handle should not be null");
    oop result = resolve_impl<DECORATORS_NONE, false /* external_guard */>(handle);
    assert(result != nullptr, "null read from jni handle");
    return result;
--- 102,10 ---
< prev index next >