mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-04 20:18:49 +00:00
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:
parent
cd181f5b09
commit
c3ba2ec46d
@ -26,6 +26,7 @@
|
||||
* @bug 4858522
|
||||
* @summary Basic unit test of HotspotClassLoadingMBean.getClassInitializationTime()
|
||||
* @author Steve Bohne
|
||||
* @run main/othervm -XX:+UsePerfData GetClassInitializationTime
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
* @bug 4858522
|
||||
* @summary Basic unit test of HotspotRuntimeMBean.getSafepointSyncTime()
|
||||
* @author Steve Bohne
|
||||
* @run main/othervm -XX:+UsePerfData GetSafepointSyncTime
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
@ -27,6 +27,7 @@
|
||||
* @summary Basic Test for HotspotThreadMBean.getInternalThreadCount()
|
||||
* and getInternalThreadCpuTime()
|
||||
* @author Mandy Chung
|
||||
* @run main/othervm -XX:+UsePerfData GetInternalThreads
|
||||
*/
|
||||
|
||||
import sun.management.*;
|
||||
|
||||
@ -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.*;
|
||||
|
||||
@ -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
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user