Searched refs:shutdownHooks (Results 1 – 2 of 2) sorted by relevance
68 private List<Thread> shutdownHooks = new ArrayList<Thread>(); field in Runtime150 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()
192 private java.util.List<java.lang.Thread> shutdownHooks; field in Runtime