changeset 11834:d2e531049824

8064923: [TESTBUG] jps doesn't display anything on embedded platforms and it causes some tests to fail Reviewed-by: egahlin, jbachorik
author ykantser
date Thu, 19 Mar 2015 09:01:44 +0100
parents 9cba30cd20f2
children 6ab205cbdb64
files test/sun/tools/jps/JpsHelper.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/tools/jps/JpsHelper.java	Mon Mar 16 09:32:34 2015 +0100
+++ b/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);