Home
last modified time | relevance | path

Searched refs:awaitClear (Results 1 – 25 of 28) sorted by relevance

12

/external/guice/core/test/com/google/inject/internal/
DWeakKeySetTest.java19 import static com.google.inject.Asserts.awaitClear;
83 awaitClear(weakKeyRef); in testEviction()
104 awaitClear(weakKeyRef); in testEviction_nullSource()
136 awaitClear(weakSource1Ref); in testEviction_keyOverlap_2x()
149 awaitClear(weakKey2Ref); in testEviction_keyOverlap_2x()
150 awaitClear(weakSource2Ref); in testEviction_keyOverlap_2x()
152 awaitClear(weakKey1Ref); in testEviction_keyOverlap_2x()
211 awaitClear(weakSourceRef); in testEviction_keyAndSourceOverlap_null()
220 awaitClear(weakKey2Ref); in testEviction_keyAndSourceOverlap_null()
221 awaitClear(weakSourceRef); in testEviction_keyAndSourceOverlap_null()
[all …]
DMapBinderTest.java1366 Asserts.awaitClear(weakRef); in testWeakKeySet_integration_mapbinder()
/external/guava/android/guava-tests/test/com/google/common/base/
DFinalizableReferenceQueueClassLoaderUnloadingTest.java127 GcFinalization.awaitClear(sepStopwatchRef.get()); in useFrqInSeparateLoader()
135 GcFinalization.awaitClear(loaderRef); in doTestUnloadable()
206 GcFinalization.awaitClear(loaderRef); in testUnloadableInStaticFieldIfClosed()
246 GcFinalization.awaitClear(finalizableWeakReference); in doTestUnloadableInStaticFieldIfClosed()
DFinalizableReferenceQueueTest.java76 GcFinalization.awaitClear(queueReference); in testThatFinalizerStops()
DAbstractIteratorTest.java184 GcFinalization.awaitClear(ref); in testFreesNextReference()
DEnumsTest.java85 GcFinalization.awaitClear(shadowLoaderReference); in testGetIfPresent_doesNotPreventClassUnloading()
/external/guava/guava-tests/test/com/google/common/base/
DFinalizableReferenceQueueClassLoaderUnloadingTest.java127 GcFinalization.awaitClear(sepStopwatchRef.get()); in useFrqInSeparateLoader()
135 GcFinalization.awaitClear(loaderRef); in doTestUnloadable()
206 GcFinalization.awaitClear(loaderRef); in testUnloadableInStaticFieldIfClosed()
246 GcFinalization.awaitClear(finalizableWeakReference); in doTestUnloadableInStaticFieldIfClosed()
DFinalizableReferenceQueueTest.java77 GcFinalization.awaitClear(queueReference); in testThatFinalizerStops()
DAbstractIteratorTest.java184 GcFinalization.awaitClear(ref); in testFreesNextReference()
DEnumsTest.java85 GcFinalization.awaitClear(shadowLoaderReference); in testGetIfPresent_doesNotPreventClassUnloading()
/external/guava/android/guava-testlib/src/com/google/common/testing/
DGcFinalization.java264 public static void awaitClear(final WeakReference<?> ref) { in awaitClear() method in GcFinalization
308 awaitClear(ref); in awaitFullGc()
/external/guava/guava-testlib/src/com/google/common/testing/
DGcFinalization.java264 public static void awaitClear(final WeakReference<?> ref) { in awaitClear() method in GcFinalization
308 awaitClear(ref); in awaitFullGc()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DStripedTest.java135 GcFinalization.awaitClear(weakRef);
144 GcFinalization.awaitClear(garbage);
155 GcFinalization.awaitClear(garbage);
DFuturesGetCheckedTest.java358 GcFinalization.awaitClear(classUsedByGetChecked); in testGetChecked_classUnloading()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DStripedTest.java135 GcFinalization.awaitClear(weakRef);
144 GcFinalization.awaitClear(garbage);
155 GcFinalization.awaitClear(garbage);
DFuturesGetCheckedTest.java358 GcFinalization.awaitClear(classUsedByGetChecked); in testGetChecked_classUnloading()
/external/guava/guava-testlib/test/com/google/common/testing/
DGcFinalizationTest.java88 GcFinalization.awaitClear(ref); in testAwaitClear()
182 GcFinalization.awaitClear(ref); in testAwaitClear_Interrupted()
/external/guava/android/guava-testlib/test/com/google/common/testing/
DGcFinalizationTest.java88 GcFinalization.awaitClear(ref); in testAwaitClear()
180 GcFinalization.awaitClear(ref); in testAwaitClear_Interrupted()
/external/guice/core/test/com/google/inject/
DKeyTest.java22 import static com.google.inject.Asserts.awaitClear;
338 awaitClear(moduleRef); // Make sure anonymous keys & typeliterals don't hold the module. in testAnonymousClassesDontHoldRefs()
351 awaitClear(runnerRef); // also make sure anonymous keys & typeliterals don't hold for JITs in testAnonymousClassesDontHoldRefs()
DAsserts.java195 public static void awaitClear(WeakReference<?> ref) {
206 GcFinalization.awaitClear(ref);
/external/guava/android/guava-tests/test/com/google/common/collect/
DInternersTest.java97 GcFinalization.awaitClear(signal); in testWeak_afterGC()
DAbstractIteratorTest.java150 GcFinalization.awaitClear(ref); in testFreesNextReference()
/external/guava/guava-tests/test/com/google/common/collect/
DInternersTest.java97 GcFinalization.awaitClear(signal); in testWeak_afterGC()
DAbstractIteratorTest.java150 GcFinalization.awaitClear(ref); in testFreesNextReference()
/external/guice/core/test/com/googlecode/guice/
DBytecodeGenTest.java252 GcFinalization.awaitClear(clazzRef); in testProxyClassUnloading()

12