HomeSort by relevance Sort by last modified time
    Searched refs:Cleaner (Results 1 - 25 of 33) sorted by null

1 2

  /libcore/ojluni/src/main/java/sun/nio/ch/
DirectBuffer.java 28 import sun.misc.Cleaner;
37 public Cleaner cleaner(); method in interface:DirectBuffer
IOVecWrapper.java 104 Cleaner.create(wrapper, new Deallocator(wrapper.vecArray));
Util.java 33 import sun.misc.Cleaner;
212 Cleaner cleaner = ((DirectBuffer)buf).cleaner(); local
213 if (cleaner != null) {
214 cleaner.clean();
FileChannelImpl.java 54 import sun.misc.Cleaner;
879 Cleaner cl = ((DirectBuffer)bb).cleaner();
    [all...]
  /libcore/ojluni/src/main/java/sun/misc/
Cleaner.java 44 * <p> A cleaner tracks a referent object and encapsulates a thunk of arbitrary
45 * cleanup code. Some time after the GC detects that a cleaner's referent has
46 * become phantom-reachable, the reference-handler thread will run the cleaner.
59 public class Cleaner
72 static private Cleaner first = null;
74 private Cleaner
78 private static synchronized Cleaner add(Cleaner cl) {
87 private static synchronized boolean remove(Cleaner cl) {
105 // Indicate removal by pointing the cleaner to itsel
    [all...]
  /libcore/ojluni/src/main/java/sun/nio/fs/
NativeBuffer.java 29 import sun.misc.Cleaner;
40 private final Cleaner cleaner; field in class:NativeBuffer
59 this.cleaner = Cleaner.create(this, new Deallocator(address));
74 Cleaner cleaner() { method in class:NativeBuffer
75 return cleaner;
  /libcore/luni/src/main/java/libcore/util/
NativeAllocationRegistry.java 20 import sun.misc.Cleaner;
128 Cleaner cleaner = Cleaner.create(referent, new CleanerThunk(nativePtr)); local
129 return new CleanerRunner(cleaner);
167 // Create the cleaner before running the allocator so that
171 Cleaner cleaner = Cleaner.create(referent, thunk); local
174 cleaner.clean()
205 private final Cleaner cleaner; field in class:NativeAllocationRegistry.CleanerRunner
    [all...]
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/apache/maven/plugins/maven-clean-plugin/2.5/
maven-clean-plugin-2.5.jar 
  /prebuilts/tools/common/m2/repository/org/apache/maven/plugins/maven-clean-plugin/2.5/
maven-clean-plugin-2.5.jar 
  /external/mockito/src/main/java/org/mockito/internal/util/concurrent/
WeakConcurrentSet.java 21 public WeakConcurrentSet(Cleaner cleaner) {
22 switch (cleaner) {
28 target = new WeakConcurrentMap<V, Boolean>(cleaner == Cleaner.THREAD);
81 * Determines the cleaning format. A reference is removed either by an explicitly started cleaner thread
82 * associated with this instance ({@link Cleaner#THREAD}), as a result of interacting with this thread local
83 * from any thread ({@link Cleaner#INLINE} or manually by submitting the detached thread local to a thread
84 * ({@link Cleaner#MANUAL}).
86 public enum Cleaner {
    [all...]
DetachedThreadLocal.java 18 public DetachedThreadLocal(Cleaner cleaner) {
19 switch (cleaner) {
22 map = new WeakConcurrentMap<Thread, T>(cleaner == Cleaner.THREAD) {
130 * Determines the cleaning format. A reference is removed either by an explicitly started cleaner thread
131 * associated with this instance ({@link Cleaner#THREAD}), as a result of interacting with this thread local
132 * from any thread ({@link Cleaner#INLINE} or manually by submitting the detached thread local to a thread
133 * ({@link Cleaner#MANUAL}).
135 public enum Cleaner {
    [all...]
  /libcore/ojluni/src/main/java/java/lang/ref/
ReferenceQueue.java 29 import sun.misc.Cleaner;
70 if (r instanceof Cleaner) {
71 // If this reference is a Cleaner, then simply invoke the clean method instead
74 Cleaner cl = (sun.misc.Cleaner) r;
  /libcore/luni/src/test/java/libcore/java/lang/ref/
ReferenceQueueTest.java 26 import sun.misc.Cleaner;
99 Cleaner cleaner = Cleaner.create(object, new Runnable() { local
  /libcore/luni/src/main/java/java/nio/
NioUtils.java 27 import sun.misc.Cleaner;
44 // Run the cleaner early, if one is defined.
45 if (dbb.cleaner != null) {
46 dbb.cleaner.clean();
  /prebuilts/go/darwin-x86/misc/android/
cleaner.go 5 // Cleaner removes anything from /data/local/tmp/goroot not on a builtin list.
  /prebuilts/go/linux-x86/misc/android/
cleaner.go 5 // Cleaner removes anything from /data/local/tmp/goroot not on a builtin list.
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/syntax/
nodes.go 104 Pragma Pragma // TODO(mdempsky): Cleaner solution.
105 EndLine uint32 // TODO(mdempsky): Cleaner solution.
146 EndLine uint32 // TODO(mdempsky): Cleaner solution.
160 EndLine uint32 // TODO(mdempsky): Cleaner solution.
  /prebuilts/go/linux-x86/src/cmd/compile/internal/syntax/
nodes.go 104 Pragma Pragma // TODO(mdempsky): Cleaner solution.
105 EndLine uint32 // TODO(mdempsky): Cleaner solution.
146 EndLine uint32 // TODO(mdempsky): Cleaner solution.
160 EndLine uint32 // TODO(mdempsky): Cleaner solution.
  /libcore/ojluni/src/main/java/java/nio/
DirectByteBuffer.java 34 import sun.misc.Cleaner;
83 final Cleaner cleaner; field in class:DirectByteBuffer
88 // Only have references to java objects, no need for a cleaner since the GC will do all
92 cleaner = null;
102 cleaner = null;
114 cleaner = Cleaner.create(memoryRef, unmapper);
131 cleaner = null;
140 public final Cleaner cleaner() method in class:DirectByteBuffer
    [all...]
  /external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
InlineBytecodeGenerator.java 77 mocked = new WeakConcurrentSet<Class<?>>(WeakConcurrentSet.Cleaner.INLINE);
  /libcore/ojluni/src/main/java/java/util/logging/
LogManager.java 206 private class Cleaner extends Thread {
208 private Cleaner() {
249 Runtime.getRuntime().addShutdownHook(new Cleaner());
260 // in order to register the Cleaner() thread as a shutdown hook.
    [all...]
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
jsoup-1.7.2.jar 
  /prebuilts/tools/common/m2/repository/org/jsoup/jsoup/1.7.3/
jsoup-1.7.3.jar 
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
gen.go 120 // TODO(mdempsky/drchase): Cleaner solution?
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
gen.go 120 // TODO(mdempsky/drchase): Cleaner solution?

Completed in 693 milliseconds

1 2