< prev index next >

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

Print this page
@@ -491,15 +491,10 @@
       * Returns the Thread object for the current platform thread. If the
       * current thread is a virtual thread then this method returns the carrier.
       */
      Thread currentCarrierThread();
  
-     /**
-      * Executes the given value returning task on the current carrier thread.
-      */
-     <V> V executeOnCarrierThread(Callable<V> task) throws Exception;
- 
      /**
       * Returns the value of the current carrier thread's copy of a thread-local.
       */
      <T> T getCarrierThreadLocal(CarrierThreadLocal<T> local);
  
< prev index next >