/openjdk9/hotspot/test/runtime/NMT/ |
H A D | MallocSiteHashOverflow.java | 58 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "statistics"}); 75 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "statistics"});
|
H A D | MallocRoundingReportTest.java | 69 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "summary" }); 75 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "summary" });
|
H A D | MallocTestType.java | 60 pb.command(new String[] { JDKToolFinder.getJDKTool("jcmd"), pid, "VM.native_memory", "summary"});
|
/openjdk9/jdk/test/java/lang/Runtime/exec/ |
H A D | Duped.java | 49 String command = 72 Process p = Runtime.getRuntime().exec(command);
|
/openjdk9/jdk/test/java/security/modules/ |
H A D | ModularTest.java | 137 final StringJoiner command = new StringJoiner(SPACE, SPACE, SPACE); 138 vmArgs.forEach((key, value) -> command.add(key + value)); 140 command.add("--module-path").add(modulePath.toFile().getCanonicalPath()); 143 command.add("-cp").add(classPath); 146 command.add("-m").add(clientModuleName + "/" + mainClass); 148 command.add(mainClass); 150 command.add(Arrays.stream(options).collect(Collectors.joining(SPACE))); 151 return command.toString().trim().split("[\\s]+");
|
/openjdk9/jdk/test/lib/testlibrary/jdk/testlibrary/ |
H A D | JcmdBase.java | 46 * Sends the diagnostic command request to the current process 56 * Sends the diagnostic command request to the current process. 78 * sends a diagnostic command request to the current process. 88 * jcmd will be run with option or command and its arguments 109 processBuilder.command(launcher.getCommand()); 110 System.out.println(Arrays.toString(processBuilder.command().toArray()).replace(",", ""));
|
/openjdk9/jdk/test/sun/tools/jinfo/ |
H A D | BasicJInfoTest.java | 81 processBuilder.command(launcher.getCommand()); 82 System.out.println(Arrays.toString(processBuilder.command().toArray()).replace(",", ""));
|
/openjdk9/jdk/test/sun/tools/jstack/ |
H A D | BasicJStackTest.java | 66 processBuilder.command(launcher.getCommand()); 67 System.out.println(Arrays.toString(processBuilder.command().toArray()).replace(",", ""));
|
H A D | DeadlockDetectionTest.java | 61 processBuilder.command(launcher.getCommand()); 62 System.out.println(processBuilder.command().stream().collect(Collectors.joining(" ")));
|
/openjdk9/jdk/test/sun/misc/ |
H A D | EscapePath.java | 79 String command = System.getProperty("java.home") + 82 Process p = Runtime.getRuntime().exec(command);
|
/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ |
H A D | CommandExecutor.java | 53 * builtin function. CommandExecutor provides support for command parsing, 117 * The RedirectInfo class handles checking the next token in a command 122 // true if a redirect was encountered on the current command. 124 // Redirect.PIPE or an input redirect from the command line. 126 // Redirect.PIPE or an output redirect from the command line. 128 // Redirect.PIPE or an error redirect from the command line. 143 * @param token current command line token 144 * @param iterator current command line iterator 406 * builtIn - checks to see if the command is a builtin and performs 408 * @param cmd current command 531 createProcessBuilder(final List<String> command, final String cwd, final RedirectInfo redirectInfo) argument 554 private void command(final List<String> tokens, final boolean isPiped) { method in class:CommandExecutor [all...] |
/openjdk9/jdk/src/java.base/share/classes/sun/net/www/ |
H A D | MimeLauncher.java | 169 String command; 172 command = str.substring(0, index); 175 command = str; 178 File f = new File(command); 195 String fullCmd = prefix + File.separator + command;
|
/openjdk9/jdk/test/sun/security/tools/jarsigner/ |
H A D | Warning.java | 205 // Runs a java tool with command line arguments 206 static OutputAnalyzer run(String command, String args) argument 208 return run(command, args, null); 211 // Runs a java tool with command line arguments and an optional input block 212 static OutputAnalyzer run(String command, String args, String input) argument 214 JDKToolLauncher launcher = JDKToolLauncher.createUsingTestJDK(command); 216 switch (command) {
|
/openjdk9/jdk/src/java.base/share/classes/java/util/concurrent/ |
H A D | CyclicBarrier.java | 49 * <p>A {@code CyclicBarrier} supports an optional {@link Runnable} command 162 /** The command to run when tripped */ 219 final Runnable command = barrierCommand; 220 if (command != null) 221 command.run(); 274 * @param barrierAction the command to execute when the barrier is
|
/openjdk9/jdk/test/java/awt/datatransfer/Clipboard/ |
H A D | GetContentsInterruptedTest.java | 75 String command = javaPath + File.separator + "bin" + 78 System.out.println(command); 82 Process process = Runtime.getRuntime().exec(command);
|
/openjdk9/jdk/test/jdk/internal/jrtfs/remote/ |
H A D | RemoteRuntimeImageTest.java | 69 // Compose command-lines for compiling and executing tests 85 private static void execCmd(List<String> command){ argument 87 System.out.println("Executing command: " + command); 90 p = new ProcessBuilder(command).inheritIO().start();
|
/openjdk9/hotspot/test/serviceability/jvmti/ |
H A D | GetObjectSizeOverflow.java | 57 pb.command(new String[] { JDKToolFinder.getJDKTool("jar"), "cmf", "MANIFEST.MF", "agent.jar", "GetObjectSizeOverflowAgent.class"});
|
/openjdk9/hotspot/test/compiler/compilercontrol/share/scenario/ |
H A D | CommandFileBuilder.java | 46 .map(cc -> cc.command.name + " "
|
/openjdk9/jdk/test/java/nio/channels/FileChannel/ |
H A D | Lock.java | 78 String command = System.getProperty("java.home") + 82 command += " -cp " + testClasses; 83 command += " Lock " + str + " " + blah; 84 Process p = Runtime.getRuntime().exec(command);
|
/openjdk9/hotspot/test/serviceability/sa/ |
H A D | DeadlockDetectionTest.java | 61 processBuilder.command(launcher.getCommand()); 62 System.out.println(processBuilder.command().stream().collect(Collectors.joining(" ")));
|
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | JTextField.java | 56 * command string for the action event that gets fired. The 57 * <code>java.awt.TextField</code> used the text of the field as the command 59 * <code>JTextField</code> will use the command 501 (command != null) ? command : getText(), 514 * Sets the command string used for action events. 516 * @param command the command string 518 public void setActionCommand(String command) { argument 519 this.command 814 private String command; field in class:JTextField [all...] |
/openjdk9/jdk/src/jdk.jdi/share/classes/com/sun/tools/jdi/ |
H A D | RawCommandLineLauncher.java | 37 static private final String ARG_COMMAND = "command"; 82 getString("raw.command.label"), 83 getString("raw.command"), 107 String command = argument(ARG_COMMAND, arguments).value(); 120 return launch(tokenizeCommand(command, quote.charAt(0)),
|
/openjdk9/jdk/test/java/net/ServerSocket/ |
H A D | AcceptCauseFileDescriptorLeak.java | 111 * Execute command with shell 113 * @param command 117 static OutputAnalyzer execCmd(String command) throws IOException { argument 118 List<String> cmd = List.of("sh", "-c", command);
|
/openjdk9/jdk/test/sun/net/www/protocol/https/ |
H A D | HttpTransaction.java | 38 String command; field in class:HttpTransaction 49 HttpTransaction (TestHttpsServer.ServerWorker server, String command, argument 52 this.command = command; 95 buf.append ("Command: ").append (command).append("\r\n"); 163 return command;
|
/openjdk9/jdk/test/sun/net/www/httptest/ |
H A D | HttpTransaction.java | 38 String command; field in class:HttpTransaction 49 HttpTransaction (TestHttpServer.Server server, String command, argument 52 this.command = command; 95 buf.append ("Command: ").append (command).append("\r\n"); 163 return command;
|