- Sort Score
- Result 10 results
- Languages All
Results 21 - 24 of 24 for awaitClear (0.17 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java
} }, directExecutor()); serializer.submit(toStringCallable(toBeGCed), directExecutor()).cancel(true); toBeGCed = null; GcFinalization.awaitClear(ref); } private static Callable<String> toStringCallable(final Object object) { return new Callable<String>() { @Override public String call() { return object.toString();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 16.8K bytes - Viewed (0) -
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
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 16.4K bytes - Viewed (0) -
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); } @AndroidIncompatible @J2ktIncompatible @GwtIncompatible public void testWhenAllComplete_releasesInputFuturesUponCancellation() throws Exception {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0) -
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); } @AndroidIncompatible @J2ktIncompatible @GwtIncompatible public void testWhenAllComplete_releasesInputFuturesUponCancellation() throws Exception {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 144.5K bytes - Viewed (0)