Searched refs:GcFinalization (Results 1 – 18 of 18) sorted by relevance
19 import com.google.common.testing.GcFinalization.FinalizationPredicate;48 GcFinalization.await(latch); in testAwait_CountDownLatch()58 GcFinalization.awaitDone(future); in testAwaitDone_Future()69 GcFinalization.awaitDone(future); in testAwaitDone_Future_Cancel()76 GcFinalization.awaitClear(ref); in testAwaitClear()83 GcFinalization.awaitDone(new FinalizationPredicate() { in testAwaitDone_FinalizationPredicate()130 GcFinalization.await(latch); in testAwait_CountDownLatch_Interrupted()146 GcFinalization.awaitDone(future); in testAwaitDone_Future_Interrupted_Interrupted()162 GcFinalization.awaitClear(ref); in testAwaitClear_Interrupted()177 GcFinalization.awaitDone(new FinalizationPredicate() { in testAwaitDone_FinalizationPredicate_Interrupted()[all …]
20 import com.google.common.testing.GcFinalization;49 GcFinalization.awaitDone(new GcFinalization.FinalizationPredicate() { in testFinalizeReferentCalled()79 GcFinalization.awaitClear(queueReference); in testThatFinalizerStops()
19 import com.google.common.testing.GcFinalization;122 GcFinalization.awaitClear(sepStopwatchRef.get()); in useFrqInSeparateLoader()130 GcFinalization.awaitClear(loaderRef); in doTestUnloadable()186 GcFinalization.awaitClear(loaderRef); in testUnloadableInStaticFieldIfClosed()227 GcFinalization.awaitClear(finalizableWeakReference); in doTestUnloadableInStaticFieldIfClosed()
21 import com.google.common.testing.GcFinalization;172 GcFinalization.awaitClear(ref); in testFreesNextReference()
22 import com.google.common.testing.GcFinalization;79 GcFinalization.awaitClear(shadowLoaderReference); in testGetIfPresent_doesNotPreventClassUnloading()
19 import com.google.common.testing.GcFinalization;58 GcFinalization.awaitDone(new GcFinalization.FinalizationPredicate() { in testFinalizeDeletesFile()
18 import com.google.common.testing.GcFinalization;91 GcFinalization.awaitFullGc(); in testSingleThreadedUse()171 GcFinalization.awaitFullGc(); in testMultiThreadedUse()173 GcFinalization.awaitFullGc(); in testMultiThreadedUse()
20 import com.google.common.testing.GcFinalization;78 GcFinalization.awaitClear(signal); in testWeak_afterGC()
21 import com.google.common.testing.GcFinalization;145 GcFinalization.awaitClear(ref); in testFreesNextReference()
32 import com.google.common.testing.GcFinalization;185 GcFinalization.awaitFullGc();206 GcFinalization.awaitClear(ref);
102 public final class GcFinalization { class103 private GcFinalization() {} in GcFinalization() method in GcFinalization
28 import com.google.common.testing.GcFinalization;116 GcFinalization.awaitClear(weakRef); in testWeakImplementations()124 GcFinalization.awaitClear(garbage); in testStrongImplementations()
23 import com.google.common.testing.GcFinalization;55 GcFinalization.awaitFullGc(); in tearDown()
21 import com.google.common.testing.GcFinalization;78 GcFinalization.awaitFullGc(); in tearDown()
23 import com.google.common.testing.GcFinalization;77 GcFinalization.awaitFullGc(); in tearDown()
25 import com.google.common.testing.GcFinalization;72 GcFinalization.awaitFullGc(); in teardown()
22 import com.google.common.testing.GcFinalization;252 GcFinalization.awaitClear(clazzRef); in testProxyClassUnloading()
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...