Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 26 of 26 for awaitClear (0.06 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        ListenableFuture<?> ignored = serializer.submitAsync(() -> settableFuture, directExecutor());
        serializer.submit(toStringCallable(toBeGCed), directExecutor()).cancel(true);
        toBeGCed = null;
        GcFinalization.awaitClear(ref);
      }
    
      private static Callable<String> toStringCallable(Object object) {
        return object::toString;
      }
    
      public void testCancellationDuringReentrancy() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

      public void testGetChecked_classUnloading() throws Exception {
        WeakReference<?> classUsedByGetChecked = doTestClassUnloading();
        GcFinalization.awaitClear(classUsedByGetChecked);
      }
    
      /**
       * Loads {@link WillBeUnloadedException} in a separate {@code ClassLoader}, calls {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        ListenableFuture<?> ignored = serializer.submitAsync(() -> settableFuture, directExecutor());
        serializer.submit(toStringCallable(toBeGCed), directExecutor()).cancel(true);
        toBeGCed = null;
        GcFinalization.awaitClear(ref);
      }
    
      private static Callable<String> toStringCallable(Object object) {
        return object::toString;
      }
    
      public void testCancellationDuringReentrancy() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

      public void testGetChecked_classUnloading() throws Exception {
        WeakReference<?> classUsedByGetChecked = doTestClassUnloading();
        GcFinalization.awaitClear(classUsedByGetChecked);
      }
    
      /**
       * Loads {@link WillBeUnloadedException} in a separate {@code ClassLoader}, calls {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

         * the futures are released once the combiner is done running. But we happen to provide this
         * earlier cleanup at the moment, so we're testing it.
         */
        GcFinalization.awaitClear(future1Ref);
        GcFinalization.awaitClear(future2Ref);
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testWhenAllComplete_releasesInputFuturesUponCancellation() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

         * the futures are released once the combiner is done running. But we happen to provide this
         * earlier cleanup at the moment, so we're testing it.
         */
        GcFinalization.awaitClear(future1Ref);
        GcFinalization.awaitClear(future2Ref);
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testWhenAllComplete_releasesInputFuturesUponCancellation() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
Back to Top