< prev index next >

src/hotspot/share/runtime/jniHandles.hpp

Print this page

        

*** 82,93 **** // Check for equality without keeping objects alive static bool is_same_object(jobject handle1, jobject handle2); // Local handles static jobject make_local(oop obj); ! static jobject make_local(JNIEnv* env, oop obj); // Fast version when env is known ! static jobject make_local(Thread* thread, oop obj); // Even faster version when current thread is known inline static void destroy_local(jobject handle); // Global handles static jobject make_global(Handle obj, AllocFailType alloc_failmode = AllocFailStrategy::EXIT_OOM); static void destroy_global(jobject handle); --- 82,92 ---- // Check for equality without keeping objects alive static bool is_same_object(jobject handle1, jobject handle2); // Local handles static jobject make_local(oop obj); ! static jobject make_local(Thread* thread, oop obj); // Faster version when current thread is known inline static void destroy_local(jobject handle); // Global handles static jobject make_global(Handle obj, AllocFailType alloc_failmode = AllocFailStrategy::EXIT_OOM); static void destroy_global(jobject handle);
< prev index next >