Lines Matching defs:jcmd
29 * Helper class for starting jcmd process.
31 * - jcmd will send diagnostic requests to the current java process:
32 * jcmd pid_to_current_process PerfCounter.print
33 * - jcmd will be run without sending request to any JVM
34 * jcmd -h
48 * @see #jcmd(boolean, String[], String[])
50 public final static OutputAnalyzer jcmd(String... jcmdArgs)
52 return jcmd(true, null, jcmdArgs);
57 * jcmd will be run with specified {@code vmArgs}.
59 * @see #jcmd(boolean, String[], String[])
61 public final static OutputAnalyzer jcmd(String[] vmArgs,
63 return jcmd(true, vmArgs, jcmdArgs);
67 * Runs jcmd without sending request to any JVM
69 * @see #jcmd(boolean, String[], String[])
73 return jcmd(false, vmArgs, jcmdArgs);
80 * runs jcmd without sending request to any JVM.
83 * Defines if jcmd will send request to the current process
85 * jcmd will be run with VM arguments specified,
88 * jcmd will be run with option or command and its arguments
93 private static final OutputAnalyzer jcmd(boolean requestToCurrentProcess,
95 JDKToolLauncher launcher = JDKToolLauncher.createUsingTestJDK("jcmd");