8064923: [TESTBUG] jps doesn't display anything on embedded platforms and it causes some tests to fail
Reviewed-by: egahlin, jbachorik
--- a/jdk/test/sun/tools/jps/JpsHelper.java Mon Mar 16 09:32:34 2015 +0100
+++ b/jdk/test/sun/tools/jps/JpsHelper.java Thu Mar 19 09:01:44 2015 +0100
@@ -151,6 +151,7 @@
*/
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);