- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 71 for gc (0.01 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CipherSuiteTest.kt
fun instancesAreInterned_survivesGarbageCollection() { // We're not holding onto a reference to this String instance outside of the CipherSuite... val cs = forJavaName("FakeCipherSuite_instancesAreInterned") System.gc() // Unless cs references the String instance, it may now be garbage collected. assertThat(forJavaName(java.lang.String(cs.javaName) as String)) .isSameAs(cs) } @Test fun equals() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ExecutionList.java
RunnableExecutorPair list; synchronized (this) { 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 are
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** * Unit test for {@link FinalizableReferenceQueue}. * * @author Bob Lee */ // - depends on details of GC and classloading // - .class files aren't available // - possibly no real concept of separate ClassLoaders? @AndroidIncompatible @GwtIncompatible @RunWith(JUnit4.class) @NullUnmarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; /** * Unit test for {@link FinalizableReferenceQueue}. * * @author Bob Lee */ // - depends on details of GC and classloading // - .class files aren't available // - possibly no real concept of separate ClassLoaders? @AndroidIncompatible @GwtIncompatible @RunWith(JUnit4.class) @NullUnmarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 8.7K bytes - Viewed (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();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionList.java
RunnableExecutorPair list; synchronized (this) { 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 are
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx)); // Act: directly invoke finalize to simulate GC finalization path trace.finalize(); // Assert: verify that finalize delegated to checkRelease() verify(trace, times(1)).checkRelease(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
misc/cgo/gmp/gmp.go
multiprecision library gmp's integer type mpz_t wrapped to look like the Go package big's integer type Int. This is a syntactically valid Go program—it can be parsed with the Go parser and processed by godoc—but it is not compiled directly by gc. Instead, a separate tool, cgo, processes it to produce three output files. The first two, 6g.go and 6c.c, are a Go source file for 6g and a C source file for 6c; both compile as part of the named package
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 9.5K bytes - Viewed (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) } public void test_integrationScenarios() { // Test realistic scenarios combining multiple methods String memoryLog1 = MemoryUtil.getMemoryUsageLog();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java
// System.out.println(resultData.toString()); } long margin = 5000000L; System.gc(); for (int i = 0; i < 30; i++) { if (MemoryUtil.getUsedMemory() < current + margin) { break; } System.gc(); Thread.sleep(1000L); } final long usedMemory = MemoryUtil.getUsedMemory();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 41.5K bytes - Viewed (0)