Searched refs:shutdownHooks (Results 1 – 2 of 2) sorted by relevance
68 private List<Thread> shutdownHooks = new ArrayList<Thread>(); field in Runtime145 synchronized (shutdownHooks) { in exit()147 hooks = new Thread[shutdownHooks.size()]; in exit()148 shutdownHooks.toArray(hooks); in exit()284 synchronized (shutdownHooks) { in addShutdownHook()285 if (shutdownHooks.contains(hook)) { in addShutdownHook()289 shutdownHooks.add(hook); in addShutdownHook()323 synchronized (shutdownHooks) { in removeShutdownHook()324 return shutdownHooks.remove(hook); in removeShutdownHook()
192 private java.util.List<java.lang.Thread> shutdownHooks; field in Runtime