Searched defs:hook (Results 1 - 8 of 8) sorted by relevance
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | ApplicationShutdownHooks.java | 42 Shutdown.add(1 /* shutdown hook invocation order */, 61 /* Add a new shutdown hook. Checks the shutdown state and the hook itself, 64 static synchronized void add(Thread hook) { argument 68 if (hook.isAlive()) 71 if (hooks.containsKey(hook)) 74 hooks.put(hook, hook); 77 /* Remove a previously-registered hook. Like the add method, this method 80 static synchronized boolean remove(Thread hook) { argument [all...] |
H A D | Shutdown.java | 50 // (0) Console restore hook 52 // (2) DeleteOnExit hook 56 // the index of the currently running shutdown hook to the hooks array 75 * Add a new shutdown hook. Checks the shutdown state and the hook itself, 83 * @params slot the slot in the shutdown hook array, whose element 85 * @params registerShutdownInProgress true to allow the hook 87 * @params hook the hook to be registered 94 static void add(int slot, boolean registerShutdownInProgress, Runnable hook) { argument [all...] |
H A D | Runtime.java | 113 * Registers a new virtual-machine shutdown hook. 130 * <p> A <i>shutdown hook</i> is simply an initialized but unstarted 145 * new shutdown hook or de-register a previously-registered hook. 165 * hook. 185 * @param hook 189 * If the specified hook has already been registered, 190 * or if it can be determined that the hook is already running or 206 public void addShutdownHook(Thread hook) { argument 211 ApplicationShutdownHooks.add(hook); 234 removeShutdownHook(Thread hook) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/misc/ |
H A D | JavaLangAccess.java | 59 * Registers a shutdown hook. 66 * @params slot the slot in the shutdown hook array, whose element 68 * @params registerShutdownInProgress true to allow the hook 70 * @params hook the hook to be registered 75 void registerShutdownHook(int slot, boolean registerShutdownInProgress, Runnable hook); argument
|
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | divnode.cpp | 288 Node* hook = new (phase->C) Node(4); local 293 hook->init_req(0, u0); 294 hook->init_req(1, u1); 307 hook->init_req(2, t); 311 hook->init_req(3, w1); 328 igvn->remove_dead_node(hook); 331 hook->set_req(i, NULL); 859 Node *hook = new (phase->C) Node(1); local 876 hook->init_req(0, x); // Add a use to x to prevent him from dying 882 hook 1030 Node *hook = new (phase->C) Node(1); local [all...] |
H A D | ifnode.cpp | 275 Node *hook = new (igvn->C) Node(4); local 276 hook->init_req(0, phi_x); 277 hook->init_req(1, phi_c); 293 hook->init_req(2, iff_c); 298 hook->init_req(3, iff_x); 365 hook->add_req(phi_s); 377 hook->add_req(phi_f); 437 igvn->remove_dead_node( hook );
|
H A D | cfgnode.cpp | 1864 Node* hook = new (phase->C) Node(1); local 1869 hook->add_req(new_base); 1884 hook->add_req(new_phi); 1909 igvn->hash_delete(hook); 1910 for (uint i = 1; i < hook->req(); i++) { 1911 hook->set_req(i, NULL);
|
H A D | loopnode.cpp | 445 Node *hook = new (C) Node(6); local 608 hook->init_req(4, limit); 619 hook->init_req(0, range); 623 hook->init_req(1, bias); 627 hook->init_req(2, bias1); 631 hook->init_req(3, trip_count); 638 hook->init_req(4 ,limit); 649 hook->init_req(0, range); 653 hook->init_req(1, bias); 657 hook [all...] |
Completed in 1576 milliseconds