8054711: [TESTBUG] Enable NMT2 tests after NMT2 is integrated
authorgtriantafill
Mon, 18 Aug 2014 11:56:12 -0700
changeset 26147 8f797b3ef01e
parent 26146 ce3202564442
child 26148 056b1af3e085
8054711: [TESTBUG] Enable NMT2 tests after NMT2 is integrated Summary: enable tests for NMT2 Reviewed-by: ctornqvi, zgu
hotspot/test/runtime/NMT/AutoshutdownNMT.java
hotspot/test/runtime/NMT/BaselineWithParameter.java
hotspot/test/runtime/NMT/CommandLineDetail.java
hotspot/test/runtime/NMT/CommandLineEmptyArgument.java
hotspot/test/runtime/NMT/CommandLineInvalidArgument.java
hotspot/test/runtime/NMT/CommandLineSummary.java
hotspot/test/runtime/NMT/CommandLineTurnOffNMT.java
hotspot/test/runtime/NMT/JcmdBaselineDetail.java
hotspot/test/runtime/NMT/JcmdScale.java
hotspot/test/runtime/NMT/JcmdScaleDetail.java
hotspot/test/runtime/NMT/JcmdSummaryDiff.java
hotspot/test/runtime/NMT/JcmdWithNMTDisabled.java
hotspot/test/runtime/NMT/MallocRoundingReportTest.java
hotspot/test/runtime/NMT/MallocTestType.java
hotspot/test/runtime/NMT/PrintNMTStatistics.java
hotspot/test/runtime/NMT/PrintNMTStatisticsWithNMTDisabled.java
hotspot/test/runtime/NMT/ReleaseCommittedMemory.java
hotspot/test/runtime/NMT/ReleaseNoCommit.java
hotspot/test/runtime/NMT/ShutdownTwice.java
hotspot/test/runtime/NMT/SummaryAfterShutdown.java
hotspot/test/runtime/NMT/SummarySanityCheck.java
hotspot/test/runtime/NMT/ThreadedMallocTestType.java
hotspot/test/runtime/NMT/ThreadedVirtualAllocTestType.java
hotspot/test/runtime/NMT/VirtualAllocTestType.java
--- a/hotspot/test/runtime/NMT/AutoshutdownNMT.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/AutoshutdownNMT.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt
  * @summary Test for deprecated message if -XX:-AutoShutdownNMT is specified
  * @library /testlibrary
- * @ignore
  */
 
 import com.oracle.java.testlibrary.*;
--- a/hotspot/test/runtime/NMT/BaselineWithParameter.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/BaselineWithParameter.java	Mon Aug 18 11:56:12 2014 -0700
@@ -27,7 +27,6 @@
  * @key nmt jcmd regression
  * @summary Regression test for invoking a jcmd with baseline=false, result was that the target VM crashed
  * @library /testlibrary
- * @ignore
  * @run main/othervm -XX:NativeMemoryTracking=detail BaselineWithParameter
  */
 
--- a/hotspot/test/runtime/NMT/CommandLineDetail.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/CommandLineDetail.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt
  * @summary Running with NMT detail should not result in an error
  * @library /testlibrary
- * @ignore
  */
 
 import com.oracle.java.testlibrary.*;
--- a/hotspot/test/runtime/NMT/CommandLineEmptyArgument.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/CommandLineEmptyArgument.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt
  * @summary Empty argument to NMT should result in an informative error message
  * @library /testlibrary
- * @ignore
  */
 
 import com.oracle.java.testlibrary.*;
--- a/hotspot/test/runtime/NMT/CommandLineInvalidArgument.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/CommandLineInvalidArgument.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt
  * @summary Invalid argument to NMT should result in an informative error message
  * @library /testlibrary
- * @ignore
  */
 
 import com.oracle.java.testlibrary.*;
--- a/hotspot/test/runtime/NMT/CommandLineSummary.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/CommandLineSummary.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt
  * @summary Running with NMT summary should not result in an error
  * @library /testlibrary
- * @ignore
  */
 
 import com.oracle.java.testlibrary.*;
--- a/hotspot/test/runtime/NMT/CommandLineTurnOffNMT.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/CommandLineTurnOffNMT.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt
  * @summary Turning off NMT should not result in an error
  * @library /testlibrary
- * @ignore
  */
 
 import com.oracle.java.testlibrary.*;
--- a/hotspot/test/runtime/NMT/JcmdBaselineDetail.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/JcmdBaselineDetail.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt jcmd
  * @summary Verify that jcmd correctly reports that baseline succeeds with NMT enabled with detailed tracking.
  * @library /testlibrary
- * @ignore
  * @run main/othervm -XX:NativeMemoryTracking=detail JcmdBaselineDetail
  */
 
--- a/hotspot/test/runtime/NMT/JcmdScale.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/JcmdScale.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt jcmd
  * @summary Test the NMT scale parameter
  * @library /testlibrary
- * @ignore
  * @run main/othervm -XX:NativeMemoryTracking=summary JcmdScale
  */
 
--- a/hotspot/test/runtime/NMT/JcmdScaleDetail.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/JcmdScaleDetail.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt jcmd
  * @summary Test the NMT scale parameter with detail tracking level
  * @library /testlibrary
- * @ignore
  * @run main/othervm -XX:NativeMemoryTracking=detail JcmdScaleDetail
  */
 
--- a/hotspot/test/runtime/NMT/JcmdSummaryDiff.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/JcmdSummaryDiff.java	Mon Aug 18 11:56:12 2014 -0700
@@ -27,7 +27,6 @@
  * @key nmt jcmd
  * @library /testlibrary /testlibrary/whitebox
  * @build JcmdSummaryDiff
- * @ignore
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=summary JcmdSummaryDiff
  */
--- a/hotspot/test/runtime/NMT/JcmdWithNMTDisabled.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/JcmdWithNMTDisabled.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt jcmd
  * @summary Verify that jcmd correctly reports that NMT is not enabled
  * @library /testlibrary
- * @ignore
  * @run main JcmdWithNMTDisabled 1
  */
 
--- a/hotspot/test/runtime/NMT/MallocRoundingReportTest.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/MallocRoundingReportTest.java	Mon Aug 18 11:56:12 2014 -0700
@@ -27,7 +27,6 @@
  * @key nmt jcmd
  * @library /testlibrary /testlibrary/whitebox
  * @build MallocRoundingReportTest
- * @ignore
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocRoundingReportTest
  *
--- a/hotspot/test/runtime/NMT/MallocTestType.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/MallocTestType.java	Mon Aug 18 11:56:12 2014 -0700
@@ -27,7 +27,6 @@
  * @key nmt jcmd
  * @library /testlibrary /testlibrary/whitebox
  * @build MallocTestType
- * @ignore
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocTestType
  */
--- a/hotspot/test/runtime/NMT/PrintNMTStatistics.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/PrintNMTStatistics.java	Mon Aug 18 11:56:12 2014 -0700
@@ -28,7 +28,6 @@
  * @summary Make sure PrintNMTStatistics works on normal JVM exit
  * @library /testlibrary /testlibrary/whitebox
  * @build PrintNMTStatistics
- * @ignore
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  * @run main PrintNMTStatistics
  */
--- a/hotspot/test/runtime/NMT/PrintNMTStatisticsWithNMTDisabled.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/PrintNMTStatisticsWithNMTDisabled.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt
  * @summary Trying to enable PrintNMTStatistics should result in a warning
  * @library /testlibrary
- * @ignore
  */
 
 import com.oracle.java.testlibrary.*;
--- a/hotspot/test/runtime/NMT/ReleaseCommittedMemory.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/ReleaseCommittedMemory.java	Mon Aug 18 11:56:12 2014 -0700
@@ -28,7 +28,6 @@
  * @key nmt regression
  * @library /testlibrary /testlibrary/whitebox
  * @build ReleaseCommittedMemory
- * @ignore
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ReleaseCommittedMemory
  */
--- a/hotspot/test/runtime/NMT/ReleaseNoCommit.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/ReleaseNoCommit.java	Mon Aug 18 11:56:12 2014 -0700
@@ -27,7 +27,6 @@
  * @key nmt regression
  * @library /testlibrary /testlibrary/whitebox
  * @build ReleaseNoCommit
- * @ignore
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=summary ReleaseNoCommit
  */
--- a/hotspot/test/runtime/NMT/ShutdownTwice.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/ShutdownTwice.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt jcmd
  * @summary Run shutdown twice
  * @library /testlibrary
- * @ignore
  * @run main/othervm -XX:NativeMemoryTracking=detail ShutdownTwice
  */
 
--- a/hotspot/test/runtime/NMT/SummaryAfterShutdown.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/SummaryAfterShutdown.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt jcmd
  * @summary Verify that jcmd correctly reports that NMT is not enabled after a shutdown
  * @library /testlibrary
- * @ignore
  * @run main/othervm -XX:NativeMemoryTracking=detail SummaryAfterShutdown
  */
 
--- a/hotspot/test/runtime/NMT/SummarySanityCheck.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/SummarySanityCheck.java	Mon Aug 18 11:56:12 2014 -0700
@@ -27,7 +27,6 @@
  * @summary Sanity check the output of NMT
  * @library /testlibrary /testlibrary/whitebox
  * @build SummarySanityCheck
- * @ignore
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:+WhiteBoxAPI SummarySanityCheck
  */
--- a/hotspot/test/runtime/NMT/ThreadedMallocTestType.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/ThreadedMallocTestType.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt jcmd
  * @library /testlibrary /testlibrary/whitebox
  * @build ThreadedMallocTestType
- * @ignore
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ThreadedMallocTestType
  */
--- a/hotspot/test/runtime/NMT/ThreadedVirtualAllocTestType.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/ThreadedVirtualAllocTestType.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @key nmt jcmd
  * @library /testlibrary /testlibrary/whitebox
  * @build ThreadedVirtualAllocTestType
- * @ignore
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ThreadedVirtualAllocTestType
  */
--- a/hotspot/test/runtime/NMT/VirtualAllocTestType.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/hotspot/test/runtime/NMT/VirtualAllocTestType.java	Mon Aug 18 11:56:12 2014 -0700
@@ -26,7 +26,6 @@
  * @summary Test Reserve/Commit/Uncommit/Release of virtual memory and that we track it correctly
  * @key nmt jcmd
  * @library /testlibrary /testlibrary/whitebox
- * @ignore
  * @build VirtualAllocTestType
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail VirtualAllocTestType