Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 91 for gc (0.28 sec)

  1. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        cache.refresh(2);
        checkLoggedCause(e);
    
        assertEquals("2", cache.getUnchecked(2));
        assertEquals(0, removalListener.getCount());
      }
    
    
      @AndroidIncompatible // Depends on GC behavior
      public void testReloadAfterValueReclamation() throws InterruptedException, ExecutionException {
        CountingLoader countingLoader = new CountingLoader();
        LoadingCache<Object, Object> cache =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

              response: Response,
            ) {
              // Ignore the response so it gets leaked then GC'd.
              latch.countDown()
            }
          },
        )
        latch.await()
        // There's some flakiness when triggering a GC for objects in a separate thread. Adding a
        // small delay appears to ensure the objects will get GC'd.
        Thread.sleep(200)
        awaitGarbageCollection()
        val message = testLogHandler.take()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        cache.refresh(2);
        checkLoggedCause(e);
    
        assertEquals("2", cache.getUnchecked(2));
        assertEquals(0, removalListener.getCount());
      }
    
    
      @AndroidIncompatible // Depends on GC behavior
      public void testReloadAfterValueReclamation() throws InterruptedException, ExecutionException {
        CountingLoader countingLoader = new CountingLoader();
        LoadingCache<Object, Object> cache =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

       * ThreadLocal is usually implemented with a WeakReference, which can have negative performance
       * properties; for example, calling WeakReference.get() on Android will block during an
       * otherwise-concurrent GC cycle.
       */
      private static final class TaskNonReentrantExecutor extends AtomicReference<RunningState>
          implements Executor, Runnable {
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.3.md

    ### Other notable changes
    
    * Build: Add KUBE_GCS_RELEASE_BUCKET_MIRROR option to push-ci-build.sh ([#28172](https://github.com/kubernetes/kubernetes/pull/28172), [@zmerlynn](https://github.com/zmerlynn))
    * Image GC logic should compensate for reserved blocks ([#27996](https://github.com/kubernetes/kubernetes/pull/27996), [@ronnielai](https://github.com/ronnielai))
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 84K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        suite.addTest(
            ConcurrentMapTestSuiteBuilder.using(
                    new TestStringCacheGenerator(createCacheBuilder().weakKeys()))
                .named("LocalCache with weakKeys") // keys are string literals and won't be GC'd
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.GENERAL_PURPOSE,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE)
                .createTestSuite());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        suite.addTest(
            ConcurrentMapTestSuiteBuilder.using(
                    new TestStringCacheGenerator(createCacheBuilder().weakKeys()))
                .named("LocalCache with weakKeys") // keys are string literals and won't be GC'd
                .withFeatures(
                    CollectionSize.ANY,
                    MapFeature.GENERAL_PURPOSE,
                    CollectionFeature.SUPPORTS_ITERATOR_REMOVE)
                .createTestSuite());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/callback.go

    		}
    	})
    }
    
    // Test that the stack can be unwound through a call out and call back
    // into Go.
    func testCallbackCallers(t *testing.T) {
    	if runtime.Compiler != "gc" {
    		// The exact function names are not going to be the same.
    		t.Skip("skipping for non-gc toolchain")
    	}
    	pc := make([]uintptr, 100)
    	n := 0
    	name := []string{
    		"runtime.cgocallbackg1",
    		"runtime.cgocallbackg",
    		"runtime.cgocallback",
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      //         Test s = suite();
      //         for (int i = 0; i < iters; ++i) {
      //             junit.textui.TestRunner.run(s);
      //             System.gc();
      //             System.runFinalization();
      //         }
      //         System.exit(0);
      //     }
    
      //     public static TestSuite newTestSuite(Object... suiteOrClasses) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      //         Test s = suite();
      //         for (int i = 0; i < iters; ++i) {
      //             junit.textui.TestRunner.run(s);
      //             System.gc();
      //             System.runFinalization();
      //         }
      //         System.exit(0);
      //     }
    
      //     public static TestSuite newTestSuite(Object... suiteOrClasses) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
Back to top