Thu, 04 Sep 2014 10:14:37 -0400
8054711: [TESTBUG] Enable NMT2 tests after NMT2 is integrated
Summary: enable tests for NMT2
Reviewed-by: ctornqvi, zgu
1.1 --- a/test/runtime/NMT/AutoshutdownNMT.java Thu Aug 14 13:15:23 2014 -0400 1.2 +++ b/test/runtime/NMT/AutoshutdownNMT.java Thu Sep 04 10:14:37 2014 -0400 1.3 @@ -26,7 +26,6 @@ 1.4 * @key nmt 1.5 * @summary Test for deprecated message if -XX:-AutoShutdownNMT is specified 1.6 * @library /testlibrary 1.7 - * @ignore 1.8 */ 1.9 1.10 import com.oracle.java.testlibrary.*;
2.1 --- a/test/runtime/NMT/BaselineWithParameter.java Thu Aug 14 13:15:23 2014 -0400 2.2 +++ b/test/runtime/NMT/BaselineWithParameter.java Thu Sep 04 10:14:37 2014 -0400 2.3 @@ -27,7 +27,6 @@ 2.4 * @key nmt jcmd regression 2.5 * @summary Regression test for invoking a jcmd with baseline=false, result was that the target VM crashed 2.6 * @library /testlibrary 2.7 - * @ignore 2.8 * @run main/othervm -XX:NativeMemoryTracking=detail BaselineWithParameter 2.9 */ 2.10
3.1 --- a/test/runtime/NMT/CommandLineDetail.java Thu Aug 14 13:15:23 2014 -0400 3.2 +++ b/test/runtime/NMT/CommandLineDetail.java Thu Sep 04 10:14:37 2014 -0400 3.3 @@ -26,7 +26,6 @@ 3.4 * @key nmt 3.5 * @summary Running with NMT detail should not result in an error 3.6 * @library /testlibrary 3.7 - * @ignore 3.8 */ 3.9 3.10 import com.oracle.java.testlibrary.*;
4.1 --- a/test/runtime/NMT/CommandLineEmptyArgument.java Thu Aug 14 13:15:23 2014 -0400 4.2 +++ b/test/runtime/NMT/CommandLineEmptyArgument.java Thu Sep 04 10:14:37 2014 -0400 4.3 @@ -26,7 +26,6 @@ 4.4 * @key nmt 4.5 * @summary Empty argument to NMT should result in an informative error message 4.6 * @library /testlibrary 4.7 - * @ignore 4.8 */ 4.9 4.10 import com.oracle.java.testlibrary.*;
5.1 --- a/test/runtime/NMT/CommandLineInvalidArgument.java Thu Aug 14 13:15:23 2014 -0400 5.2 +++ b/test/runtime/NMT/CommandLineInvalidArgument.java Thu Sep 04 10:14:37 2014 -0400 5.3 @@ -26,7 +26,6 @@ 5.4 * @key nmt 5.5 * @summary Invalid argument to NMT should result in an informative error message 5.6 * @library /testlibrary 5.7 - * @ignore 5.8 */ 5.9 5.10 import com.oracle.java.testlibrary.*;
6.1 --- a/test/runtime/NMT/CommandLineSummary.java Thu Aug 14 13:15:23 2014 -0400 6.2 +++ b/test/runtime/NMT/CommandLineSummary.java Thu Sep 04 10:14:37 2014 -0400 6.3 @@ -26,7 +26,6 @@ 6.4 * @key nmt 6.5 * @summary Running with NMT summary should not result in an error 6.6 * @library /testlibrary 6.7 - * @ignore 6.8 */ 6.9 6.10 import com.oracle.java.testlibrary.*;
7.1 --- a/test/runtime/NMT/CommandLineTurnOffNMT.java Thu Aug 14 13:15:23 2014 -0400 7.2 +++ b/test/runtime/NMT/CommandLineTurnOffNMT.java Thu Sep 04 10:14:37 2014 -0400 7.3 @@ -26,7 +26,6 @@ 7.4 * @key nmt 7.5 * @summary Turning off NMT should not result in an error 7.6 * @library /testlibrary 7.7 - * @ignore 7.8 */ 7.9 7.10 import com.oracle.java.testlibrary.*;
8.1 --- a/test/runtime/NMT/JcmdBaselineDetail.java Thu Aug 14 13:15:23 2014 -0400 8.2 +++ b/test/runtime/NMT/JcmdBaselineDetail.java Thu Sep 04 10:14:37 2014 -0400 8.3 @@ -26,7 +26,6 @@ 8.4 * @key nmt jcmd 8.5 * @summary Verify that jcmd correctly reports that baseline succeeds with NMT enabled with detailed tracking. 8.6 * @library /testlibrary 8.7 - * @ignore 8.8 * @run main/othervm -XX:NativeMemoryTracking=detail JcmdBaselineDetail 8.9 */ 8.10
9.1 --- a/test/runtime/NMT/JcmdScale.java Thu Aug 14 13:15:23 2014 -0400 9.2 +++ b/test/runtime/NMT/JcmdScale.java Thu Sep 04 10:14:37 2014 -0400 9.3 @@ -26,7 +26,6 @@ 9.4 * @key nmt jcmd 9.5 * @summary Test the NMT scale parameter 9.6 * @library /testlibrary 9.7 - * @ignore 9.8 * @run main/othervm -XX:NativeMemoryTracking=summary JcmdScale 9.9 */ 9.10
10.1 --- a/test/runtime/NMT/JcmdScaleDetail.java Thu Aug 14 13:15:23 2014 -0400 10.2 +++ b/test/runtime/NMT/JcmdScaleDetail.java Thu Sep 04 10:14:37 2014 -0400 10.3 @@ -26,7 +26,6 @@ 10.4 * @key nmt jcmd 10.5 * @summary Test the NMT scale parameter with detail tracking level 10.6 * @library /testlibrary 10.7 - * @ignore 10.8 * @run main/othervm -XX:NativeMemoryTracking=detail JcmdScaleDetail 10.9 */ 10.10
11.1 --- a/test/runtime/NMT/JcmdSummaryDiff.java Thu Aug 14 13:15:23 2014 -0400 11.2 +++ b/test/runtime/NMT/JcmdSummaryDiff.java Thu Sep 04 10:14:37 2014 -0400 11.3 @@ -27,7 +27,6 @@ 11.4 * @key nmt jcmd 11.5 * @library /testlibrary /testlibrary/whitebox 11.6 * @build JcmdSummaryDiff 11.7 - * @ignore 11.8 * @run main ClassFileInstaller sun.hotspot.WhiteBox 11.9 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=summary JcmdSummaryDiff 11.10 */
12.1 --- a/test/runtime/NMT/JcmdWithNMTDisabled.java Thu Aug 14 13:15:23 2014 -0400 12.2 +++ b/test/runtime/NMT/JcmdWithNMTDisabled.java Thu Sep 04 10:14:37 2014 -0400 12.3 @@ -26,7 +26,6 @@ 12.4 * @key nmt jcmd 12.5 * @summary Verify that jcmd correctly reports that NMT is not enabled 12.6 * @library /testlibrary 12.7 - * @ignore 12.8 * First run without enabling NMT 12.9 * @run main/othervm JcmdWithNMTDisabled 12.10 * Then run with explicitly disabling NMT, should not be any difference
13.1 --- a/test/runtime/NMT/MallocRoundingReportTest.java Thu Aug 14 13:15:23 2014 -0400 13.2 +++ b/test/runtime/NMT/MallocRoundingReportTest.java Thu Sep 04 10:14:37 2014 -0400 13.3 @@ -27,7 +27,6 @@ 13.4 * @key nmt jcmd 13.5 * @library /testlibrary /testlibrary/whitebox 13.6 * @build MallocRoundingReportTest 13.7 - * @ignore 13.8 * @run main ClassFileInstaller sun.hotspot.WhiteBox 13.9 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocRoundingReportTest 13.10 *
14.1 --- a/test/runtime/NMT/MallocTestType.java Thu Aug 14 13:15:23 2014 -0400 14.2 +++ b/test/runtime/NMT/MallocTestType.java Thu Sep 04 10:14:37 2014 -0400 14.3 @@ -27,7 +27,6 @@ 14.4 * @key nmt jcmd 14.5 * @library /testlibrary /testlibrary/whitebox 14.6 * @build MallocTestType 14.7 - * @ignore 14.8 * @run main ClassFileInstaller sun.hotspot.WhiteBox 14.9 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail MallocTestType 14.10 */
15.1 --- a/test/runtime/NMT/PrintNMTStatistics.java Thu Aug 14 13:15:23 2014 -0400 15.2 +++ b/test/runtime/NMT/PrintNMTStatistics.java Thu Sep 04 10:14:37 2014 -0400 15.3 @@ -28,7 +28,6 @@ 15.4 * @summary Make sure PrintNMTStatistics works on normal JVM exit 15.5 * @library /testlibrary /testlibrary/whitebox 15.6 * @build PrintNMTStatistics 15.7 - * @ignore 15.8 * @run main ClassFileInstaller sun.hotspot.WhiteBox 15.9 * @run main PrintNMTStatistics 15.10 */
16.1 --- a/test/runtime/NMT/PrintNMTStatisticsWithNMTDisabled.java Thu Aug 14 13:15:23 2014 -0400 16.2 +++ b/test/runtime/NMT/PrintNMTStatisticsWithNMTDisabled.java Thu Sep 04 10:14:37 2014 -0400 16.3 @@ -26,7 +26,6 @@ 16.4 * @key nmt 16.5 * @summary Trying to enable PrintNMTStatistics should result in a warning 16.6 * @library /testlibrary 16.7 - * @ignore 16.8 */ 16.9 16.10 import com.oracle.java.testlibrary.*;
17.1 --- a/test/runtime/NMT/ReleaseCommittedMemory.java Thu Aug 14 13:15:23 2014 -0400 17.2 +++ b/test/runtime/NMT/ReleaseCommittedMemory.java Thu Sep 04 10:14:37 2014 -0400 17.3 @@ -28,7 +28,6 @@ 17.4 * @key nmt regression 17.5 * @library /testlibrary /testlibrary/whitebox 17.6 * @build ReleaseCommittedMemory 17.7 - * @ignore 17.8 * @run main ClassFileInstaller sun.hotspot.WhiteBox 17.9 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ReleaseCommittedMemory 17.10 */
18.1 --- a/test/runtime/NMT/ReleaseNoCommit.java Thu Aug 14 13:15:23 2014 -0400 18.2 +++ b/test/runtime/NMT/ReleaseNoCommit.java Thu Sep 04 10:14:37 2014 -0400 18.3 @@ -27,7 +27,6 @@ 18.4 * @key nmt regression 18.5 * @library /testlibrary /testlibrary/whitebox 18.6 * @build ReleaseNoCommit 18.7 - * @ignore 18.8 * @run main ClassFileInstaller sun.hotspot.WhiteBox 18.9 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=summary ReleaseNoCommit 18.10 */
19.1 --- a/test/runtime/NMT/ShutdownTwice.java Thu Aug 14 13:15:23 2014 -0400 19.2 +++ b/test/runtime/NMT/ShutdownTwice.java Thu Sep 04 10:14:37 2014 -0400 19.3 @@ -26,7 +26,6 @@ 19.4 * @key nmt jcmd 19.5 * @summary Run shutdown twice 19.6 * @library /testlibrary 19.7 - * @ignore 19.8 * @run main/othervm -XX:NativeMemoryTracking=detail ShutdownTwice 19.9 */ 19.10
20.1 --- a/test/runtime/NMT/SummaryAfterShutdown.java Thu Aug 14 13:15:23 2014 -0400 20.2 +++ b/test/runtime/NMT/SummaryAfterShutdown.java Thu Sep 04 10:14:37 2014 -0400 20.3 @@ -26,7 +26,6 @@ 20.4 * @key nmt jcmd 20.5 * @summary Verify that jcmd correctly reports that NMT is not enabled after a shutdown 20.6 * @library /testlibrary 20.7 - * @ignore 20.8 * @run main/othervm -XX:NativeMemoryTracking=detail SummaryAfterShutdown 20.9 */ 20.10
21.1 --- a/test/runtime/NMT/SummarySanityCheck.java Thu Aug 14 13:15:23 2014 -0400 21.2 +++ b/test/runtime/NMT/SummarySanityCheck.java Thu Sep 04 10:14:37 2014 -0400 21.3 @@ -27,7 +27,6 @@ 21.4 * @summary Sanity check the output of NMT 21.5 * @library /testlibrary /testlibrary/whitebox 21.6 * @build SummarySanityCheck 21.7 - * @ignore 21.8 * @run main ClassFileInstaller sun.hotspot.WhiteBox 21.9 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:NativeMemoryTracking=summary -XX:+WhiteBoxAPI SummarySanityCheck 21.10 */
22.1 --- a/test/runtime/NMT/ThreadedMallocTestType.java Thu Aug 14 13:15:23 2014 -0400 22.2 +++ b/test/runtime/NMT/ThreadedMallocTestType.java Thu Sep 04 10:14:37 2014 -0400 22.3 @@ -26,7 +26,6 @@ 22.4 * @key nmt jcmd 22.5 * @library /testlibrary /testlibrary/whitebox 22.6 * @build ThreadedMallocTestType 22.7 - * @ignore 22.8 * @run main ClassFileInstaller sun.hotspot.WhiteBox 22.9 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ThreadedMallocTestType 22.10 */
23.1 --- a/test/runtime/NMT/ThreadedVirtualAllocTestType.java Thu Aug 14 13:15:23 2014 -0400 23.2 +++ b/test/runtime/NMT/ThreadedVirtualAllocTestType.java Thu Sep 04 10:14:37 2014 -0400 23.3 @@ -26,7 +26,6 @@ 23.4 * @key nmt jcmd 23.5 * @library /testlibrary /testlibrary/whitebox 23.6 * @build ThreadedVirtualAllocTestType 23.7 - * @ignore 23.8 * @run main ClassFileInstaller sun.hotspot.WhiteBox 23.9 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ThreadedVirtualAllocTestType 23.10 */
24.1 --- a/test/runtime/NMT/VirtualAllocTestType.java Thu Aug 14 13:15:23 2014 -0400 24.2 +++ b/test/runtime/NMT/VirtualAllocTestType.java Thu Sep 04 10:14:37 2014 -0400 24.3 @@ -26,7 +26,6 @@ 24.4 * @summary Test Reserve/Commit/Uncommit/Release of virtual memory and that we track it correctly 24.5 * @key nmt jcmd 24.6 * @library /testlibrary /testlibrary/whitebox 24.7 - * @ignore 24.8 * @build VirtualAllocTestType 24.9 * @run main ClassFileInstaller sun.hotspot.WhiteBox 24.10 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail VirtualAllocTestType