Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for awaitFullGc (0.13 sec)

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

                });
    
        // Don't copy this into your own test!
        // Use e.g. awaitClear or await(CountDownLatch) instead.
        GcFinalization.awaitFullGc();
    
        // If this test turns out to be flaky, add a second call to awaitFullGc()
        // GcFinalization.awaitFullGc();
    
        assertEquals(0, finalizerRan.getCount());
        assertNull(ref.get());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

                });
    
        // Don't copy this into your own test!
        // Use e.g. awaitClear or await(CountDownLatch) instead.
        GcFinalization.awaitFullGc();
    
        // If this test turns out to be flaky, add a second call to awaitFullGc()
        // GcFinalization.awaitFullGc();
    
        assertEquals(0, finalizerRan.getCount());
        assertNull(ref.get());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top