- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for GC (0.11 seconds)
-
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* from GC, as with {@link #awaitClear}. Because there are no guarantees for the order of GC * finalization processing, there may still be some unfinished work for the GC to do after this * method returns. * * <p>This method does not create any memory pressure as would be required to cause soft * references to be processed. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
* from GC, as with {@link #awaitClear}. Because there are no guarantees for the order of GC * finalization processing, there may still be some unfinished work for the GC to do after this * method returns. * * <p>This method does not create any memory pressure as would be required to cause soft * references to be processed. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
gradle.properties
kotlin.mpp.applyDefaultHierarchyTemplate=false androidBuild=false graalBuild=false loomBuild=false containerTests=false okhttpModuleTests=false okhttpDokka=false # Increase heap and metaspace to reduce GC pressure when loading 30+ plugin classpaths org.gradle.jvmargs=-Dfile.encoding=UTF-8 # AGP 9.0 Settings android.builtInKotlin=true
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 08:47:08 GMT 2026 - 718 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/EnumsTest.java
} public void testGetIfPresent_whenNoMatchingConstant() { assertThat(Enums.getIfPresent(TestEnum.class, "WOMBAT")).isAbsent(); } @J2ktIncompatible @AndroidIncompatible // depends on details of GC and classloading public void testGetIfPresent_doesNotPreventClassUnloading() throws Exception { WeakReference<?> shadowLoaderReference = doTestClassUnloading(); GcFinalization.awaitClear(shadowLoaderReference); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertThrows(NoSuchElementException.class, iter::next); assertThrows(NoSuchElementException.class, iter::peek); } @J2ktIncompatible // weak references, details of GC @GwtIncompatible // weak references public void testFreesNextReference() { Iterator<Object> itr = new AbstractIterator<Object>() { @Override public Object computeNext() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertThrows(NoSuchElementException.class, iter::next); assertThrows(NoSuchElementException.class, iter::peek); } @J2ktIncompatible // weak references, details of GC @GwtIncompatible // weak references public void testFreesNextReference() { Iterator<Object> itr = new AbstractIterator<Object>() { @Override public Object computeNext() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 8K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/EnumsTest.java
} public void testGetIfPresent_whenNoMatchingConstant() { assertThat(Enums.getIfPresent(TestEnum.class, "WOMBAT")).isAbsent(); } @J2ktIncompatible @AndroidIncompatible // depends on details of GC and classloading public void testGetIfPresent_doesNotPreventClassUnloading() throws Exception { WeakReference<?> shadowLoaderReference = doTestClassUnloading(); GcFinalization.awaitClear(shadowLoaderReference); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 8.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
RunnableExecutorPair list; synchronized (lock) { if (executed) { return; } executed = true; list = runnables; runnables = null; // allow GC to free listeners even if this stays around for a while. } // If we succeeded then list holds all the runnables we to execute. The pairs in the stack areCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 10 11:51:21 GMT 2026 - 6.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
assertSame(execJob, result); assertEquals(1, execJob.jvmOptions.size()); assertTrue(execJob.jvmOptions.get(0).startsWith("-Xlog:gc*,gc+age=trace,safepoint:file=")); assertTrue(execJob.jvmOptions.get(0).contains("gc-test.log")); // Test with custom logFilePath execJob.jvmOptions.clear(); execJob.logFilePath("/custom/path"); result = execJob.gcLogging();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
largeArray[i] = "test" + i; } long memory2 = MemoryUtil.getUsedMemory(); assertTrue(memory2 >= 0); // Memory usage should have changed (though we can't guarantee direction due to GC) } @Test public void test_integrationScenarios() { // Test realistic scenarios combining multiple methods String memoryLog1 = MemoryUtil.getMemoryUsageLog();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12K bytes - Click Count (0)