提交 3044b4e2 编写于 作者: G gtriantafill

8054711: [TESTBUG] Enable NMT2 tests after NMT2 is integrated

Summary: enable tests for NMT2
Reviewed-by: ctornqvi, zgu
上级 d1194f43
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt * @key nmt
* @summary Test for deprecated message if -XX:-AutoShutdownNMT is specified * @summary Test for deprecated message if -XX:-AutoShutdownNMT is specified
* @library /testlibrary * @library /testlibrary
* @ignore
*/ */
import com.oracle.java.testlibrary.*; import com.oracle.java.testlibrary.*;
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
* @key nmt jcmd regression * @key nmt jcmd regression
* @summary Regression test for invoking a jcmd with baseline=false, result was that the target VM crashed * @summary Regression test for invoking a jcmd with baseline=false, result was that the target VM crashed
* @library /testlibrary * @library /testlibrary
* @ignore
* @run main/othervm -XX:NativeMemoryTracking=detail BaselineWithParameter * @run main/othervm -XX:NativeMemoryTracking=detail BaselineWithParameter
*/ */
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt * @key nmt
* @summary Running with NMT detail should not result in an error * @summary Running with NMT detail should not result in an error
* @library /testlibrary * @library /testlibrary
* @ignore
*/ */
import com.oracle.java.testlibrary.*; import com.oracle.java.testlibrary.*;
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt * @key nmt
* @summary Empty argument to NMT should result in an informative error message * @summary Empty argument to NMT should result in an informative error message
* @library /testlibrary * @library /testlibrary
* @ignore
*/ */
import com.oracle.java.testlibrary.*; import com.oracle.java.testlibrary.*;
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt * @key nmt
* @summary Invalid argument to NMT should result in an informative error message * @summary Invalid argument to NMT should result in an informative error message
* @library /testlibrary * @library /testlibrary
* @ignore
*/ */
import com.oracle.java.testlibrary.*; import com.oracle.java.testlibrary.*;
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt * @key nmt
* @summary Running with NMT summary should not result in an error * @summary Running with NMT summary should not result in an error
* @library /testlibrary * @library /testlibrary
* @ignore
*/ */
import com.oracle.java.testlibrary.*; import com.oracle.java.testlibrary.*;
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt * @key nmt
* @summary Turning off NMT should not result in an error * @summary Turning off NMT should not result in an error
* @library /testlibrary * @library /testlibrary
* @ignore
*/ */
import com.oracle.java.testlibrary.*; import com.oracle.java.testlibrary.*;
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt jcmd * @key nmt jcmd
* @summary Verify that jcmd correctly reports that baseline succeeds with NMT enabled with detailed tracking. * @summary Verify that jcmd correctly reports that baseline succeeds with NMT enabled with detailed tracking.
* @library /testlibrary * @library /testlibrary
* @ignore
* @run main/othervm -XX:NativeMemoryTracking=detail JcmdBaselineDetail * @run main/othervm -XX:NativeMemoryTracking=detail JcmdBaselineDetail
*/ */
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt jcmd * @key nmt jcmd
* @summary Test the NMT scale parameter * @summary Test the NMT scale parameter
* @library /testlibrary * @library /testlibrary
* @ignore
* @run main/othervm -XX:NativeMemoryTracking=summary JcmdScale * @run main/othervm -XX:NativeMemoryTracking=summary JcmdScale
*/ */
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt jcmd * @key nmt jcmd
* @summary Test the NMT scale parameter with detail tracking level * @summary Test the NMT scale parameter with detail tracking level
* @library /testlibrary * @library /testlibrary
* @ignore
* @run main/othervm -XX:NativeMemoryTracking=detail JcmdScaleDetail * @run main/othervm -XX:NativeMemoryTracking=detail JcmdScaleDetail
*/ */
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
* @key nmt jcmd * @key nmt jcmd
* @library /testlibrary /testlibrary/whitebox * @library /testlibrary /testlibrary/whitebox
* @build JcmdSummaryDiff * @build JcmdSummaryDiff
* @ignore
* @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=summary JcmdSummaryDiff * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=summary JcmdSummaryDiff
*/ */
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt jcmd * @key nmt jcmd
* @summary Verify that jcmd correctly reports that NMT is not enabled * @summary Verify that jcmd correctly reports that NMT is not enabled
* @library /testlibrary * @library /testlibrary
* @ignore
* First run without enabling NMT * First run without enabling NMT
* @run main/othervm JcmdWithNMTDisabled * @run main/othervm JcmdWithNMTDisabled
* Then run with explicitly disabling NMT, should not be any difference * Then run with explicitly disabling NMT, should not be any difference
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
* @key nmt jcmd * @key nmt jcmd
* @library /testlibrary /testlibrary/whitebox * @library /testlibrary /testlibrary/whitebox
* @build MallocRoundingReportTest * @build MallocRoundingReportTest
* @ignore
* @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocRoundingReportTest * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocRoundingReportTest
* *
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
* @key nmt jcmd * @key nmt jcmd
* @library /testlibrary /testlibrary/whitebox * @library /testlibrary /testlibrary/whitebox
* @build MallocTestType * @build MallocTestType
* @ignore
* @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocTestType * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocTestType
*/ */
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
* @summary Make sure PrintNMTStatistics works on normal JVM exit * @summary Make sure PrintNMTStatistics works on normal JVM exit
* @library /testlibrary /testlibrary/whitebox * @library /testlibrary /testlibrary/whitebox
* @build PrintNMTStatistics * @build PrintNMTStatistics
* @ignore
* @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main PrintNMTStatistics * @run main PrintNMTStatistics
*/ */
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt * @key nmt
* @summary Trying to enable PrintNMTStatistics should result in a warning * @summary Trying to enable PrintNMTStatistics should result in a warning
* @library /testlibrary * @library /testlibrary
* @ignore
*/ */
import com.oracle.java.testlibrary.*; import com.oracle.java.testlibrary.*;
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
* @key nmt regression * @key nmt regression
* @library /testlibrary /testlibrary/whitebox * @library /testlibrary /testlibrary/whitebox
* @build ReleaseCommittedMemory * @build ReleaseCommittedMemory
* @ignore
* @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ReleaseCommittedMemory * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ReleaseCommittedMemory
*/ */
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
* @key nmt regression * @key nmt regression
* @library /testlibrary /testlibrary/whitebox * @library /testlibrary /testlibrary/whitebox
* @build ReleaseNoCommit * @build ReleaseNoCommit
* @ignore
* @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=summary ReleaseNoCommit * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=summary ReleaseNoCommit
*/ */
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt jcmd * @key nmt jcmd
* @summary Run shutdown twice * @summary Run shutdown twice
* @library /testlibrary * @library /testlibrary
* @ignore
* @run main/othervm -XX:NativeMemoryTracking=detail ShutdownTwice * @run main/othervm -XX:NativeMemoryTracking=detail ShutdownTwice
*/ */
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt jcmd * @key nmt jcmd
* @summary Verify that jcmd correctly reports that NMT is not enabled after a shutdown * @summary Verify that jcmd correctly reports that NMT is not enabled after a shutdown
* @library /testlibrary * @library /testlibrary
* @ignore
* @run main/othervm -XX:NativeMemoryTracking=detail SummaryAfterShutdown * @run main/othervm -XX:NativeMemoryTracking=detail SummaryAfterShutdown
*/ */
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
* @summary Sanity check the output of NMT * @summary Sanity check the output of NMT
* @library /testlibrary /testlibrary/whitebox * @library /testlibrary /testlibrary/whitebox
* @build SummarySanityCheck * @build SummarySanityCheck
* @ignore
* @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:+WhiteBoxAPI SummarySanityCheck * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:+WhiteBoxAPI SummarySanityCheck
*/ */
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt jcmd * @key nmt jcmd
* @library /testlibrary /testlibrary/whitebox * @library /testlibrary /testlibrary/whitebox
* @build ThreadedMallocTestType * @build ThreadedMallocTestType
* @ignore
* @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ThreadedMallocTestType * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ThreadedMallocTestType
*/ */
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @key nmt jcmd * @key nmt jcmd
* @library /testlibrary /testlibrary/whitebox * @library /testlibrary /testlibrary/whitebox
* @build ThreadedVirtualAllocTestType * @build ThreadedVirtualAllocTestType
* @ignore
* @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ThreadedVirtualAllocTestType * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ThreadedVirtualAllocTestType
*/ */
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
* @summary Test Reserve/Commit/Uncommit/Release of virtual memory and that we track it correctly * @summary Test Reserve/Commit/Uncommit/Release of virtual memory and that we track it correctly
* @key nmt jcmd * @key nmt jcmd
* @library /testlibrary /testlibrary/whitebox * @library /testlibrary /testlibrary/whitebox
* @ignore
* @build VirtualAllocTestType * @build VirtualAllocTestType
* @run main ClassFileInstaller sun.hotspot.WhiteBox * @run main ClassFileInstaller sun.hotspot.WhiteBox
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail VirtualAllocTestType * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail VirtualAllocTestType
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册