changeset 23002:b66277a59feb

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 13e6624ce038
children fb9b081c28e3
files jdk/test/sun/management/jmxremote/bootstrap/LocalManagementTest.java
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/test/sun/management/jmxremote/bootstrap/LocalManagementTest.java	Thu Feb 20 21:36:02 2014 -0800
+++ b/jdk/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
+}