< prev index next >

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

Print this page
*** 80,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 != 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;
--- 80,10 ---
< prev index next >