8064923: [TESTBUG] jps doesn't display anything on embedded platforms and it causes some tests to fail
authorykantser
Thu, 19 Mar 2015 09:01:44 +0100
changeset 30326 5fc89c43c103
parent 29609 7c61a02e1ed7
child 30327 14a05668b003
8064923: [TESTBUG] jps doesn't display anything on embedded platforms and it causes some tests to fail Reviewed-by: egahlin, jbachorik
jdk/test/sun/tools/jps/JpsHelper.java
--- 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);