Searched refs:exec (Results 76 - 100 of 196) sorted by relevance

12345678

/openjdk9/jdk/test/com/sun/net/httpserver/
H A DTest5.java56 ExecutorService exec = Executors.newCachedThreadPool();
57 server.setExecutor (exec);
66 if (exec != null)
67 exec.shutdown();
H A DTest3.java57 ExecutorService exec = Executors.newCachedThreadPool();
58 server.setExecutor (exec);
67 if (exec != null)
68 exec.shutdown();
H A DTest4.java55 ExecutorService exec = Executors.newCachedThreadPool();
56 server.setExecutor (exec);
65 if (exec != null)
66 exec.shutdown();
/openjdk9/jdk/test/java/net/DatagramSocket/
H A DInheritHandle.java46 Runtime.getRuntime().exec("sleep 10");
/openjdk9/nashorn/test/script/basic/
H A DJDK-8013131.js65 print(JSON.stringify(r.exec("aaa")));
/openjdk9/jdk/test/java/util/prefs/
H A DRemoveReadOnlyNode.java58 Runtime.getRuntime().exec("chmod 755 " + node1BDirName).waitFor();
/openjdk9/jdk/src/java.base/share/classes/java/lang/
H A DRuntime.java330 * {@code exec(command)}
332 * {@link #exec(String, String[], File) exec}{@code (command, null, null)}.
352 * @see #exec(String[], String[], File)
355 public Process exec(String command) throws IOException { method in class:Runtime
356 return exec(command, null, null);
364 * {@code exec(command, envp)}
366 * {@link #exec(String, String[], File) exec}{@code (command, envp, null)}.
393 * @see #exec(Strin
396 public Process exec(String command, String[] envp) throws IOException { method in class:Runtime
450 public Process exec(String command, String[] envp, File dir) method in class:Runtime
493 public Process exec(String cmdarray[]) throws IOException { method in class:Runtime
536 public Process exec(String[] cmdarray, String[] envp) throws IOException { method in class:Runtime
630 public Process exec(String[] cmdarray, String[] envp, File dir) method in class:Runtime
[all...]
/openjdk9/hotspot/test/compiler/compilercontrol/jcmd/
H A DClearDirectivesFileStackTest.java63 Executable exec = Utils.getRandomElement(METHODS).first;
64 MethodDescriptor methodDescriptor = getValidMethodDescriptor(exec);
H A DClearDirectivesStackTest.java63 Executable exec = Utils.getRandomElement(METHODS).first;
64 MethodDescriptor methodDescriptor = getValidMethodDescriptor(exec);
/openjdk9/jdk/test/javax/net/ssl/sanity/interop/
H A DJSSEServer.java54 Executor exec = Executors.newFixedThreadPool
85 exec.execute(r);
/openjdk9/langtools/test/tools/javac/api/6731573/
H A DT6731573.java86 void exec(DiagnosticType diagType, SourceLine sourceLine) { method in class:T6731573
105 exec(dt, sl);
/openjdk9/jdk/test/sun/security/pkcs11/fips/
H A DJSSEServer.java53 Executor exec = Executors.newFixedThreadPool
84 exec.execute(r);
/openjdk9/hotspot/src/os/linux/vm/
H A Dos_linux.hpp79 static int commit_memory_impl(char* addr, size_t bytes, bool exec);
81 size_t alignment_hint, bool exec);
96 static char* reserve_memory_special_shm(size_t bytes, size_t alignment, char* req_addr, bool exec);
97 static char* reserve_memory_special_huge_tlbfs(size_t bytes, size_t alignment, char* req_addr, bool exec);
98 static char* reserve_memory_special_huge_tlbfs_only(size_t bytes, char* req_addr, bool exec);
99 static char* reserve_memory_special_huge_tlbfs_mixed(size_t bytes, size_t alignment, char* req_addr, bool exec);
/openjdk9/jdk/test/java/net/httpclient/http2/
H A DFixedThreadPoolTest.java54 static ExecutorService exec; field in class:FixedThreadPoolTest
64 httpServer = new Http2TestServer(false, 0, exec, sslContext);
68 httpsServer = new Http2TestServer(true, 0, exec, sslContext);
100 exec.shutdownNow();
106 exec = Executors.newCachedThreadPool();
177 Http2TestServer server = new Http2TestServer(true, 0, exec, sslContext);
/openjdk9/jdk/test/java/lang/instrument/
H A DTransformerManagementThreadAddTests.java133 ExecuteTransformersThread exec = new ExecuteTransformersThread();
134 exec.start();
142 while (!exec.isDone())
178 * @param exec The execution thread to set
180 protected void setExecThread(ExecuteTransformersThread exec) argument
182 this.fExec = exec;
/openjdk9/jdk/test/java/lang/Runtime/exec/
H A DSleepyCat.java26 @summary Various race conditions caused exec'ed processes to have
119 cats[i] = rt.exec(catArgs);
121 Process sleep = rt.exec(sleepArgs);
163 "exec " + UnixCommands.sleep() + " "
169 backgroundSleepers[i] = rt.exec(args); // race condition here
H A DArgWithSpaceAndFinalBackslash.java64 Process process = Runtime.getRuntime().exec(cmd);
H A DExecWithInput.java26 * @summary Ensure that piped input always works with exec'd processes
34 * Process OutputStream (exec'd process stdin). The subprocess completes 100%
52 Process p = Runtime.getRuntime().exec(UnixCommands.cat());
112 // Note: in order to get an exec'd java process to
H A DExecWithLotsOfArgs.java26 @summary 4033560 limited args of exec to 198 on Solaris. We check
27 that we can actually exec more args than that.
52 * The Java program to exec. This is slightly fragile. Works
63 * The class with main() that the exec'd VM will run.
75 * Do the exec.
78 p = Runtime.getRuntime().exec(command);
H A DDuped.java72 Process p = Runtime.getRuntime().exec(command);
H A DConcurrentRead.java45 Process p = Runtime.getRuntime().exec(UnixCommands.tee());
/openjdk9/jdk/test/java/nio/file/attribute/BasicFileAttributeView/
H A DUnixSocketFile.java55 Process proc = Runtime.getRuntime().exec("which nc");
85 proc = Runtime.getRuntime().exec(CMD_BASE + " " + socketFilePath);
/openjdk9/jdk/test/sun/security/pkcs11/sslecc/
H A DJSSEServer.java62 Executor exec = Executors.newFixedThreadPool
103 exec.execute(r);
/openjdk9/hotspot/test/runtime/invokedynamic/
H A DBootstrapMethodErrorTest.java122 Class<?> exec = Class.forName(INDY_CALLER_CLASS_NAME, true, this);
123 exec.getMethod("invoke").invoke(null);
128 Class<?> exec = Class.forName(INDY_CALLER_CLASS_NAME, true, this);
130 exec.getMethod("invoke").invoke(null);
/openjdk9/jdk/test/java/awt/TextField/DisposeTest/
H A DTestDispose.java97 worker = Runtime.getRuntime().exec(System.getProperty("java.home")+"/bin/java TestDispose workprocess");

Completed in 208 milliseconds

12345678