HomeSort by relevance Sort by last modified time
    Searched full:finalizer (Results 1 - 25 of 267) sorted by null

1 2 3 4 5 6 7 8 91011

  /art/test/059-finalizer-throw/
expected.txt 1 In finalizer
  /art/test/030-bad-finalizer/
expected.txt 2 Finalizer started and spinning...
3 Finalizer done spinning.
4 Finalizer sleeping forever now.
info.txt 1 The finalizer for this class never finishes. Dalvik is expected to detect
  /art/test/080-oom-throw-with-finalizer/
info.txt 1 Regression test on correct processing of OOM thrown while adding a finalizer reference.
  /external/guava/guava/src/com/google/common/base/
FinalizableReferenceQueue.java 46 * calling its {@code close} method. You <em>could</em> use a finalizer to accomplish this, but
96 * The Finalizer thread keeps a phantom reference to this object. When the client (for example, a
99 * Finalizer to stop.
102 * Finalizer directly with no problems.
104 * If this library is loaded in an application class loader, it's important that Finalizer not
107 * Finalizer Thread runs instance of -> Finalizer.class loaded by -> Application class loader
110 * Even if no other references to classes from the application class loader remain, the Finalizer
112 * Finalizer running, and as a result, the application class loader can never be reclaimed.
117 * Finalizer in its own independent class loader
138 Class<?> finalizer = loadFinalizer( typedefs
214 Class<?> finalizer = loader.loadFinalizer(); local
    [all...]
  /art/test/030-bad-finalizer/src/
Main.java 18 * Test a class with a bad finalizer.
45 * Class with a bad finalizer.
49 System.out.println("Finalizer started and spinning...");
59 System.out.println("Finalizer done spinning.");
61 System.out.println("Finalizer sleeping forever now.");
  /prebuilts/go/darwin-x86/src/runtime/
mfinal.go 16 fin [(_FinBlockSize - 2*ptrSize - 2*4) / unsafe.Sizeof(finalizer{})]finalizer
29 type finalizer struct {
38 // Each Finalizer is 5 words, ptr ptr INT ptr ptr (INT = uintptr here)
57 // Assumptions about Finalizer layout checked below.
74 // Build pointer mask for Finalizer array in block.
76 if (unsafe.Sizeof(finalizer{}) != 5*ptrSize ||
77 unsafe.Offsetof(finalizer{}.fn) != 0 ||
78 unsafe.Offsetof(finalizer{}.arg) != ptrSize ||
79 unsafe.Offsetof(finalizer{}.nret) != 2*ptrSize |
    [all...]
mfinal_test.go 31 t.Errorf("finalizer %d, want %d", *x, 97531)
38 finalizer interface{}
59 runtime.SetFinalizer(tt.convert(v), tt.finalizer)
68 t.Errorf("#%d: finalizer for type %T didn't run", i, tt.finalizer)
91 t.Errorf("finalizer called with type %T, want *bigValue", v)
94 t.Errorf("finalizer called with %+v, want %+v", *i, old)
106 t.Errorf("finalizer for type *bigValue didn't run")
185 t.Errorf("finalizer of next object in memory didn't run")
211 // set finalizer on string contents of
    [all...]
  /prebuilts/go/linux-x86/src/runtime/
mfinal.go 16 fin [(_FinBlockSize - 2*ptrSize - 2*4) / unsafe.Sizeof(finalizer{})]finalizer
29 type finalizer struct {
38 // Each Finalizer is 5 words, ptr ptr INT ptr ptr (INT = uintptr here)
57 // Assumptions about Finalizer layout checked below.
74 // Build pointer mask for Finalizer array in block.
76 if (unsafe.Sizeof(finalizer{}) != 5*ptrSize ||
77 unsafe.Offsetof(finalizer{}.fn) != 0 ||
78 unsafe.Offsetof(finalizer{}.arg) != ptrSize ||
79 unsafe.Offsetof(finalizer{}.nret) != 2*ptrSize |
    [all...]
mfinal_test.go 31 t.Errorf("finalizer %d, want %d", *x, 97531)
38 finalizer interface{}
59 runtime.SetFinalizer(tt.convert(v), tt.finalizer)
68 t.Errorf("#%d: finalizer for type %T didn't run", i, tt.finalizer)
91 t.Errorf("finalizer called with type %T, want *bigValue", v)
94 t.Errorf("finalizer called with %+v, want %+v", *i, old)
106 t.Errorf("finalizer for type *bigValue didn't run")
185 t.Errorf("finalizer of next object in memory didn't run")
211 // set finalizer on string contents of
    [all...]
  /external/guava/guava/src/com/google/common/base/internal/
Finalizer.java 49 public class Finalizer implements Runnable {
52 = Logger.getLogger(Finalizer.class.getName());
59 * Starts the Finalizer thread. FinalizableReferenceQueue calls this method
78 * collected, at which point, Finalizer can stop running
85 Finalizer finalizer = new Finalizer(finalizableReferenceClass, queue, frqReference); local
86 Thread thread = new Thread(finalizer);
87 thread.setName(Finalizer.class.getName());
96 + " by reference finalizer thread.", t)
    [all...]
  /external/guava/guava-tests/test/com/google/common/base/
FinalizableReferenceQueueTest.java 19 import com.google.common.base.internal.Finalizer;
98 * the finalizer thread stopped, but we should test that it actually
122 assertNotSame(Finalizer.class, finalizerCopy);
136 // Force Finalizer to load from this class loader, not its parent.
137 if (name.equals(Finalizer.class.getName())) {
150 assertNotNull(getClass().getResource("internal/Finalizer.class"));
154 // Ensure that the Finalizer class has no nested classes.
156 assertEquals(Collections.emptyList(), Arrays.asList(Finalizer.class.getDeclaredClasses()));
  /frameworks/base/tools/layoutlib/bridge/src/libcore/util/
NativeAllocationRegistry_Delegate.java 42 private NativeAllocationRegistry_Delegate(FreeFunction finalizer) {
43 mFinalizer = finalizer;
49 public static long createFinalizer(FreeFunction finalizer) {
50 return sManager.addNewDelegate(new NativeAllocationRegistry_Delegate(finalizer));
  /frameworks/base/core/jni/android/graphics/
Xfermode.cpp 27 static void finalizer(JNIEnv* env, jobject, jlong objHandle) function in class:android::SkXfermodeGlue
37 {"finalizer", "(J)V", (void*) SkXfermodeGlue::finalizer}
Rasterizer.cpp 60 static void finalizer(JNIEnv* env, jobject clazz, jlong objHandle) { function in class:android::SkRasterizerGlue
66 {"finalizer", "(J)V", (void*) SkRasterizerGlue::finalizer}
ColorFilter.cpp 34 static void finalizer(JNIEnv* env, jobject clazz, jlong skFilterHandle) { function in class:android::SkColorFilterGlue
61 {"destroyFilter", "(J)V", (void*) SkColorFilterGlue::finalizer}
  /cts/tests/tests/jni/src/android/jni/cts/
ClassLoaderStaticNonce.java 41 // Have a finalizer. This will make the outer class not finalizable when we allocate for
46 // Do something so that the finalizer can't be recognized as empty.
  /frameworks/base/graphics/java/android/graphics/
Rasterizer.java 28 finalizer(native_instance);
32 private static native void finalizer(long native_instance); method in class:Rasterizer
Xfermode.java 35 finalizer(native_instance);
42 private static native void finalizer(long native_instance); method in class:Xfermode
  /external/libchrome/base/mac/
libdispatch_task_runner.h 61 // All properties (context, finalizer, etc.) are managed by this class, and
69 static void Finalizer(void* context);
73 // The event on which Shutdown waits until Finalizer runs.
libdispatch_task_runner.cc 18 dispatch_set_finalizer_f(queue_, &LibDispatchTaskRunner::Finalizer);
76 void LibDispatchTaskRunner::Finalizer(void* context) {
  /art/runtime/mirror/
class_flags.h 53 // Class is a finalizer reference class.
59 // Combination of flags to figure out if the class is either the weak/soft/phantom/finalizer
  /art/test/059-finalizer-throw/src/
Main.java 21 * Throw an exception from a finalizer and make sure it's harmless. Under
64 System.out.println("In finalizer");
  /external/chromium-trace/catapult/third_party/Paste/paste/
transaction.py 90 def finalizer(exc_info=None): function in function:BasicTransactionHandler.basic_transaction
107 finalizer, finalizer)
  /art/test/004-NativeAllocations/src/
Main.java 72 // then we will get a finalizer timeout exception.
78 // Do more allocations now that the finalizer thread is deadlocked so that we force

Completed in 558 milliseconds

1 2 3 4 5 6 7 8 91011