- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testThatFinalizerStops (0.32 sec)
-
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
* know that the background thread has stopped and released its strong reference. */ private WeakReference<ReferenceQueue<Object>> queueReference; public void testThatFinalizerStops() { weaklyReferenceQueue(); GcFinalization.awaitClear(queueReference); } /** If we don't keep a strong reference to the reference object, it won't be enqueued. */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 4.8K bytes - Viewed (0)