jdk/test/sun/tools/jps/JpsHelper.java
changeset 31454 4dba1183dc2f
parent 30326 5fc89c43c103
child 32474 5b41b53a4997
--- a/jdk/test/sun/tools/jps/JpsHelper.java	Tue Jun 09 16:48:54 2015 +0200
+++ b/jdk/test/sun/tools/jps/JpsHelper.java	Tue Jun 09 10:11:11 2015 +0200
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -94,9 +94,10 @@
     }
 
     /**
-     * VM arguments to start test application with
+     * VM arguments to start test application with.
+     * -XX:+UsePerfData is required for running the tests on embedded platforms.
      */
-    public static final String[] VM_ARGS = {"-Xmx512m", "-XX:+PrintGCDetails"};
+    public static final String[] VM_ARGS = {"-XX:+UsePerfData", "-Xmx512m", "-XX:+PrintGCDetails"};
     /**
      * VM flag to start test application with
      */