8040692: [TESTBUG] sun/management/jmxremote/bootstrap/JvmstatCountersTest.java requires -XX:+UsePerfData option to pass on embedded platforms

Reviewed-by: sla
This commit is contained in:
Jaroslav Bachorik 2014-08-21 14:36:49 +02:00
parent cd181f5b09
commit c3ba2ec46d
5 changed files with 8 additions and 5 deletions

View File

@ -26,6 +26,7 @@
* @bug 4858522
* @summary Basic unit test of HotspotClassLoadingMBean.getClassInitializationTime()
* @author Steve Bohne
* @run main/othervm -XX:+UsePerfData GetClassInitializationTime
*/
/*

View File

@ -26,6 +26,7 @@
* @bug 4858522
* @summary Basic unit test of HotspotRuntimeMBean.getSafepointSyncTime()
* @author Steve Bohne
* @run main/othervm -XX:+UsePerfData GetSafepointSyncTime
*/
/*

View File

@ -27,6 +27,7 @@
* @summary Basic Test for HotspotThreadMBean.getInternalThreadCount()
* and getInternalThreadCpuTime()
* @author Mandy Chung
* @run main/othervm -XX:+UsePerfData GetInternalThreads
*/
import sun.management.*;

View File

@ -29,10 +29,10 @@
* @author Luis-Miguel Alventosa
* @run clean JvmstatCountersTest
* @run build JvmstatCountersTest
* @run main/othervm/timeout=600 JvmstatCountersTest 1
* @run main/othervm/timeout=600 -Dcom.sun.management.jmxremote JvmstatCountersTest 2
* @run main/othervm/timeout=600 -Dcom.sun.management.jmxremote.port=0 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false JvmstatCountersTest 3
* @run main/othervm/timeout=600 JvmstatCountersTest 4
* @run main/othervm/timeout=600 -XX:+UsePerfData JvmstatCountersTest 1
* @run main/othervm/timeout=600 -XX:+UsePerfData -Dcom.sun.management.jmxremote JvmstatCountersTest 2
* @run main/othervm/timeout=600 -XX:+UsePerfData -Dcom.sun.management.jmxremote.port=0 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false JvmstatCountersTest 3
* @run main/othervm/timeout=600 -XX:+UsePerfData JvmstatCountersTest 4
*/
import java.io.*;

View File

@ -53,7 +53,7 @@ import jdk.testlibrary.JDKToolLauncher;
* @bug 7110104
* @library /lib/testlibrary
* @build jdk.testlibrary.* JMXStartStopTest JMXStartStopDoSomething
* @run main/othervm/timeout=600 JMXStartStopTest
* @run main/othervm/timeout=600 -XX:+UsePerfData JMXStartStopTest
* @summary Makes sure that enabling/disabling the management agent through
* JCMD achieves the desired results
*/