Searched refs:thunk (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/sun/misc/ |
D | Cleaner.java | 112 private final Runnable thunk; field in Cleaner 114 private Cleaner(Object referent, Runnable thunk) { in Cleaner() argument 116 this.thunk = thunk; in Cleaner() 130 public static Cleaner create(Object ob, Runnable thunk) { in create() argument 131 if (thunk == null) in create() 133 return add(new Cleaner(ob, thunk)); in create() 143 thunk.run(); in clean()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | Cleaner.java | 33 private Cleaner(java.lang.Object referent, java.lang.Runnable thunk) { in Cleaner() argument 47 public static sun.misc.Cleaner create(java.lang.Object ob, java.lang.Runnable thunk) { in create() argument 68 private final java.lang.Runnable thunk; field in Cleaner 71 thunk = null;
|
/libcore/luni/src/main/java/libcore/util/ |
D | NativeAllocationRegistry.java | 241 CleanerThunk thunk; in registerNativeAllocation() local 244 thunk = new CleanerThunk(); in registerNativeAllocation() 245 Cleaner cleaner = Cleaner.create(referent, thunk); in registerNativeAllocation() 253 thunk.setNativePtr(nativePtr); in registerNativeAllocation()
|
/libcore/ojluni/annotations/mmodule/sun/misc/ |
D | Cleaner.annotated.java | 36 Cleaner(java.lang.Object referent, java.lang.Runnable thunk) { super(null, null); throw new Runtime… in Cleaner() argument 39 public static sun.misc.Cleaner create(java.lang.Object ob, java.lang.Runnable thunk) { throw new Ru… in create() argument
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | PollingWatchService.java | 288 Runnable thunk = new Runnable() { public void run() { poll(); }}; 290 .scheduleAtFixedRate(thunk, period, period, TimeUnit.SECONDS);
|