< prev index next >

src/hotspot/share/runtime/jniHandles.hpp

Print this page

        

@@ -80,10 +80,11 @@
   static void destroy_global(jobject handle);
 
   // Weak global handles
   static jobject make_weak_global(Handle obj);
   static void destroy_weak_global(jobject handle);
+  static bool is_global_weak_cleared(jweak handle); // Test jweak without resolution
 
   // Sentinel marking deleted handles in block. Note that we cannot store NULL as
   // the sentinel, since clearing weak global JNI refs are done by storing NULL in
   // the handle. The handle may not be reused before destroy_weak_global is called.
   static oop deleted_handle()   { return _deleted_handle; }
< prev index next >