/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...] |
H A D | System.java | 1193 public void registerShutdownHook(int slot, boolean registerShutdownInProgress, Runnable hook) { 1194 Shutdown.add(slot, registerShutdownInProgress, hook);
|
/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/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/ |
H A D | ServerTubeAssemblerContext.java | 170 ServerPipelineHook hook = endpoint.getContainer().getSPI(ServerPipelineHook.class); 171 if (hook != null) { 173 return PipeAdapter.adapt(hook.createMonitoringPipe(ctxt, PipeAdapter.adapt(next))); 182 ServerPipelineHook hook = endpoint.getContainer().getSPI(ServerPipelineHook.class); 183 if (hook != null) { 185 return PipeAdapter.adapt(hook.createSecurityPipe(ctxt, PipeAdapter.adapt(next)));
|
H A D | ClientTubeAssemblerContext.java | 228 ClientPipelineHook hook = container.getSPI(ClientPipelineHook.class); 229 if (hook != null) { 232 return PipeAdapter.adapt(hook.createSecurityPipe(ctxt, PipeAdapter.adapt(next)));
|
/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 | 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...] |
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);
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/io/ |
H A D | OutputStreamHook.java | 122 OutputStreamHook hook = (OutputStreamHook)out; 124 ObjectStreamField[] osfields = hook.getFieldsNoCopy(); 133 hook.writeField(osfields[i], value);
|