Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testAwaitFullGc (0.08 seconds)

  1. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

       * the more direct await* methods, but should be reliable enough in practice to avoid flakiness of
       * this test. (And if it isn't, we'd like to know about it first!)
       */
      public void testAwaitFullGc() {
        CountDownLatch finalizerRan = new CountDownLatch(1);
        WeakReference<Object> ref = createWeakReferenceWithFinalizer(finalizerRan);
    
        // Don't copy this into your own test!
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

       * the more direct await* methods, but should be reliable enough in practice to avoid flakiness of
       * this test. (And if it isn't, we'd like to know about it first!)
       */
      public void testAwaitFullGc() {
        CountDownLatch finalizerRan = new CountDownLatch(1);
        WeakReference<Object> ref = createWeakReferenceWithFinalizer(finalizerRan);
    
        // Don't copy this into your own test!
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
Back to Top