Home
last modified time | relevance | path

Searched refs:shutdownHooks (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
DRuntime.java68 private List<Thread> shutdownHooks = new ArrayList<Thread>(); field in Runtime
150 synchronized (shutdownHooks) { in exit()
152 hooks = new Thread[shutdownHooks.size()]; in exit()
153 shutdownHooks.toArray(hooks); in exit()
289 synchronized (shutdownHooks) { in addShutdownHook()
290 if (shutdownHooks.contains(hook)) { in addShutdownHook()
294 shutdownHooks.add(hook); in addShutdownHook()
328 synchronized (shutdownHooks) { in removeShutdownHook()
329 return shutdownHooks.remove(hook); in removeShutdownHook()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DRuntime.java192 private java.util.List<java.lang.Thread> shutdownHooks; field in Runtime