- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for gc (0.02 sec)
-
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. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (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. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 11.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
} /** * See FinalizationTester for discussion on how to best trigger GC in tests. * https://android.googlesource.com/platform/libcore/+/master/support/src/test/java/libcore/ * java/lang/ref/FinalizationTester.java */ @Throws(Exception::class) @JvmStatic fun awaitGarbageCollection() { Runtime.getRuntime().gc() Thread.sleep(100) System.runFinalization() } @JvmStatic
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
} @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts. public void testWeakImplementations() { for (Striped<?> striped : weakImplementations()) { WeakReference<Object> weakRef = new WeakReference<>(striped.get(new Object())); GcFinalization.awaitClear(weakRef); } } @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
} @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts. public void testWeakImplementations() { for (Striped<?> striped : weakImplementations()) { WeakReference<Object> weakRef = new WeakReference<>(striped.get(new Object())); GcFinalization.awaitClear(weakRef); } } @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
cmd/peer-s3-client.go
return nil } gc := gridConn.Load() if gc != nil { return gc } gm := globalGrid.Load() if gm == nil { return nil } gc = gm.Connection(node.GridHost) if gc == nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
createLeakyResource(); // Force garbage collection System.gc(); Thread.sleep(200); // Check for leaks resourceManager.checkForLeaks(); Map<String, Object> stats = resourceManager.getStatistics(); // The leak counter may or may not increment depending on GC timing assertNotNull(stats.get("totalLeaks")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
return b.toString(); }).collect(Collectors.joining(","))); buf.append("},"); final GarbageCollectors gc = jvmStats.getGc(); buf.append("\"gc\":{"); buf.append(Arrays.stream(gc.getCollectors()).map(c -> { final StringBuilder b = new StringBuilder(); b.append('"').append(StringEscapeUtils.escapeJson(c.getName())).append("\":{");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java
assertThrows(NoSuchElementException.class, iter::peek); } @J2ktIncompatible // weak references, details of GC @GwtIncompatible // weak references @AndroidIncompatible // depends on details of GC public void testFreesNextReference() { Iterator<Object> itr = new AbstractIterator<Object>() { @Override public Object computeNext() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/ExecJob.java
* Enables garbage collection logging for this job execution. * Configures JVM options for comprehensive GC logging with rotation. * * @return this ExecJob instance for method chaining */ public ExecJob gcLogging() { final StringBuilder buf = new StringBuilder(100); buf.append("-Xlog:gc*,gc+age=trace,safepoint:file="); if (logFilePath != null) { buf.append(logFilePath);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.2K bytes - Viewed (0)