changeset 9189:0280c40e6e77

8033787: [TESTBUG] Few jdk regression management tests should be improved with -XX:+UsePerfData usage Reviewed-by: dholmes
author jbachorik
date Fri, 21 Feb 2014 12:31:29 +0100
parents 27b6c3481e81
children 75caae8d226f
files test/sun/management/jmxremote/bootstrap/LocalManagementTest.java
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/management/jmxremote/bootstrap/LocalManagementTest.java	Tue Feb 11 14:48:51 2014 +0100
+++ b/test/sun/management/jmxremote/bootstrap/LocalManagementTest.java	Fri Feb 21 12:31:29 2014 +0100
@@ -32,6 +32,7 @@
 import java.util.List;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.atomic.AtomicReference;
+import jdk.testlibrary.ProcessTools;
 
 /**
  * @test
@@ -43,11 +44,9 @@
  *          both agent properties and jvmstat buffer.
  * @build jdk.testlibrary.ProcessTools
  * @build TestManager TestApplication
- * @run main/othervm/timeout=300 LocalManagementTest
+ * @run main/othervm/timeout=300 -XX:+UsePerfData LocalManagementTest
  */
 
-import jdk.testlibrary.ProcessTools;
-
 public class LocalManagementTest {
     private static final  String TEST_CLASSPATH = System.getProperty("test.class.path");
     private static final  String TEST_JDK = System.getProperty("test.jdk");
@@ -240,4 +239,4 @@
             }
         }
     }
-}
\ No newline at end of file
+}