changeset 6922:e6122e00c927

8054711: [TESTBUG] Enable NMT2 tests after NMT2 is integrated Summary: enable tests for NMT2 Reviewed-by: ctornqvi, zgu
author gtriantafill
date Mon, 18 Aug 2014 11:56:12 -0700
parents c041b65beeed
children 56ff43213a78
files test/runtime/NMT/AutoshutdownNMT.java test/runtime/NMT/BaselineWithParameter.java test/runtime/NMT/CommandLineDetail.java test/runtime/NMT/CommandLineEmptyArgument.java test/runtime/NMT/CommandLineInvalidArgument.java test/runtime/NMT/CommandLineSummary.java test/runtime/NMT/CommandLineTurnOffNMT.java test/runtime/NMT/JcmdBaselineDetail.java test/runtime/NMT/JcmdScale.java test/runtime/NMT/JcmdScaleDetail.java test/runtime/NMT/JcmdSummaryDiff.java test/runtime/NMT/JcmdWithNMTDisabled.java test/runtime/NMT/MallocRoundingReportTest.java test/runtime/NMT/MallocTestType.java test/runtime/NMT/PrintNMTStatistics.java test/runtime/NMT/PrintNMTStatisticsWithNMTDisabled.java test/runtime/NMT/ReleaseCommittedMemory.java test/runtime/NMT/ReleaseNoCommit.java test/runtime/NMT/ShutdownTwice.java test/runtime/NMT/SummaryAfterShutdown.java test/runtime/NMT/SummarySanityCheck.java test/runtime/NMT/ThreadedMallocTestType.java test/runtime/NMT/ThreadedVirtualAllocTestType.java test/runtime/NMT/VirtualAllocTestType.java
diffstat 24 files changed, 0 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtime/NMT/AutoshutdownNMT.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/BaselineWithParameter.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/CommandLineDetail.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/CommandLineEmptyArgument.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/CommandLineInvalidArgument.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/CommandLineSummary.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/CommandLineTurnOffNMT.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/JcmdBaselineDetail.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/JcmdScale.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/JcmdScaleDetail.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/JcmdSummaryDiff.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/JcmdWithNMTDisabled.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/MallocRoundingReportTest.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/MallocTestType.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/PrintNMTStatistics.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/PrintNMTStatisticsWithNMTDisabled.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/ReleaseCommittedMemory.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/ReleaseNoCommit.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/ShutdownTwice.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/SummaryAfterShutdown.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/SummarySanityCheck.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/ThreadedMallocTestType.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/ThreadedVirtualAllocTestType.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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/test/runtime/NMT/VirtualAllocTestType.java	Tue Aug 19 09:05:55 2014 -0400
+++ b/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