< prev index next >

src/java.base/share/classes/jdk/internal/access/JavaLangRefAccess.java

Print this page
@@ -23,10 +23,12 @@
   * questions.
   */
  
  package jdk.internal.access;
  
+ import java.lang.ref.ReferenceQueue;
+ 
  public interface JavaLangRefAccess {
  
      /**
       * Wait for progress in {@link java.lang.ref.Reference}
       * processing.  If there aren't any pending {@link

@@ -41,6 +43,13 @@
       * Runs the finalization methods of any objects pending finalization.
       *
       * Invoked by Runtime.runFinalization()
       */
      void runFinalization();
+ 
+     /**
+      * Constructs a new NativeReferenceQueue.
+      *
+      * Invoked by MethodType.ConcurrentWeakInternSet
+      */
+     <T> ReferenceQueue<T> newNativeReferenceQueue();
  }
< prev index next >