Lines Matching refs:args
43 public static void main(String[] args) throws Exception {
44 if (args.length == 0) {
54 while (optionCount < args.length) {
55 String arg = args[optionCount];
82 int paramCount = args.length - optionCount;
90 if (!args[optionCount].matches("[0-9]+")) {
99 for (int i=optionCount; i<args.length; i++ ){
100 params[i-optionCount] = args[i];
105 String pid = args[optionCount];
118 private static void runJStackTool(boolean mixed, boolean locks, String args[]) throws Exception {
126 args = prepend("-m", args);
129 args = prepend("-l", args);
135 Object[] invokeArgs = { args };
156 private static void runThreadDump(String pid, String args[]) throws Exception {
177 InputStream in = ((HotSpotVirtualMachine)vm).remoteDataDump((Object[])args);
194 private static String[] prepend(String arg, String args[]) {
195 String[] newargs = new String[args.length+1];
197 System.arraycopy(args, 0, newargs, 1, args.length);