Home
last modified time | relevance | path

Searched refs:finalizerRan (Results 1 – 2 of 2) sorted by relevance

/external/guava/guava-testlib/src/com/google/common/testing/
DGcFinalization.java285 final CountDownLatch finalizerRan = new CountDownLatch(1); in awaitFullGc() local
288 @Override protected void finalize() { finalizerRan.countDown(); } in awaitFullGc()
291 await(finalizerRan); in awaitFullGc()
/external/guava/guava-testlib/test/com/google/common/testing/
DGcFinalizationTest.java199 final CountDownLatch finalizerRan = new CountDownLatch(1); in testAwaitFullGc() local
202 @Override protected void finalize() { finalizerRan.countDown(); } in testAwaitFullGc()
212 assertEquals(0, finalizerRan.getCount()); in testAwaitFullGc()