8064923: [TESTBUG] jps doesn't display anything on embedded platforms and it causes some tests to fail
Reviewed-by: egahlin, jbachorik
This commit is contained in:
parent
20be94ae55
commit
a4da3681de
@ -151,6 +151,7 @@ public final class JpsHelper {
|
||||
*/
|
||||
public static OutputAnalyzer jps(List<String> vmArgs, List<String> toolArgs) throws Exception {
|
||||
JDKToolLauncher launcher = JDKToolLauncher.createUsingTestJDK("jps");
|
||||
launcher.addVMArg("-XX:+UsePerfData");
|
||||
if (vmArgs != null) {
|
||||
for (String vmArg : vmArgs) {
|
||||
launcher.addVMArg(vmArg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user