- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 83 for Finalizer (0.12 seconds)
-
android/guava/src/com/google/common/base/internal/Finalizer.java
* * 2) To detect when FinalizableReference's class loader has to be garbage collected, at which * point, Finalizer can stop running */ Finalizer finalizer = new Finalizer(finalizableReferenceClass, queue, frqReference); String threadName = "com.google.common.base.internal.Finalizer"; Thread thread = null; if (bigThreadConstructor != null) { try { boolean inheritThreadLocals = false;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 03:19:29 GMT 2026 - 9.6K bytes - Click Count (0) -
guava/src/com/google/common/base/internal/Finalizer.java
* * 2) To detect when FinalizableReference's class loader has to be garbage collected, at which * point, Finalizer can stop running */ Finalizer finalizer = new Finalizer(finalizableReferenceClass, queue, frqReference); String threadName = "com.google.common.base.internal.Finalizer"; Thread thread = null; if (bigThreadConstructor != null) { try { boolean inheritThreadLocals = false;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 03:19:29 GMT 2026 - 9.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/FinalizableReferenceQueue.java
/** Reference to Finalizer.startFinalizer(). */ private static final FinalizerStarter finalizerStarter; static { Class<?> finalizer = loadFinalizer(new SystemLoader(), new DecoupledLoader()); finalizerStarter = finalizer != null ? new ReflectiveStarter(getStartFinalizer(finalizer)) : new DirectStarter(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 19:26:59 GMT 2026 - 15.8K bytes - Click Count (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
/** Reference to Finalizer.startFinalizer(). */ private static final FinalizerStarter finalizerStarter; static { Class<?> finalizer = loadFinalizer(new SystemLoader(), new DecoupledLoader()); finalizerStarter = finalizer != null ? new ReflectiveStarter(getStartFinalizer(finalizer)) : new DirectStarter(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 19:26:59 GMT 2026 - 15.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
@Test public void testGetFinalizerUrl() { assertThat(getClass().getResource("internal/Finalizer.class")).isNotNull(); } @Test public void testFinalizeClassHasNoNestedClasses() throws Exception { // Ensure that the Finalizer class has no nested classes. // See https://github.com/google/guava/issues/1505 assertThat(Finalizer.class.getDeclaredClasses()).isEmpty(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Feb 27 21:20:19 GMT 2026 - 8.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
assertThat(frqC).isNotSameInstanceAs(sepFrqC); // Check the assumptions above. // FRQ tries to load the Finalizer class (for the reference-collecting thread) in a few ways. // If the class is accessible to the system ClassLoader (ClassLoader.getSystemClassLoader()) // then FRQ does not bother to load Finalizer.class through a separate ClassLoader. That happens
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
assertThat(frqC).isNotSameInstanceAs(sepFrqC); // Check the assumptions above. // FRQ tries to load the Finalizer class (for the reference-collecting thread) in a few ways. // If the class is accessible to the system ClassLoader (ClassLoader.getSystemClassLoader()) // then FRQ does not bother to load Finalizer.class through a separate ClassLoader. That happens
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* RuntimeException}. * * <p>Here's an example that tests a {@code finalize} method: * * {@snippet : * final CountDownLatch latch = new CountDownLatch(1); * Object x = new MyClass() { * ... * protected void finalize() { latch.countDown(); ... } * }; * x = null; // Hint to the JIT that x is stack-unreachable * GcFinalization.await(latch); * } *
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
* RuntimeException}. * * <p>Here's an example that tests a {@code finalize} method: * * {@snippet : * final CountDownLatch latch = new CountDownLatch(1); * Object x = new MyClass() { * ... * protected void finalize() { latch.countDown(); ... } * }; * x = null; // Hint to the JIT that x is stack-unreachable * GcFinalization.await(latch); * } *
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) -
doc/go_mem.html
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Aug 05 15:41:37 GMT 2025 - 26.6K bytes - Click Count (0)