Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testAwaitFullGc (0.18 sec)

  1. 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() {
        final CountDownLatch finalizerRan = new CountDownLatch(1);
        final WeakReference<Object> ref =
            new WeakReference<Object>(
                new Object() {
                  @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
  2. 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() {
        final CountDownLatch finalizerRan = new CountDownLatch(1);
        final WeakReference<Object> ref =
            new WeakReference<Object>(
                new Object() {
                  @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.4K bytes
    - Viewed (0)
Back to top