8055053: [TESTBUG] runtime/NMT/VirtualAllocCommitUncommitRecommit.java fails
authorgtriantafill
Fri, 22 Aug 2014 07:38:42 -0700
changeset 26300 a1dfa0b11526
parent 26299 0a42745f2b78
child 26301 05be37b5ba44
8055053: [TESTBUG] runtime/NMT/VirtualAllocCommitUncommitRecommit.java fails Reviewed-by: ctornqvi, zgu
hotspot/test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java
--- a/hotspot/test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java	Fri Aug 22 06:46:29 2014 -0700
+++ b/hotspot/test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java	Fri Aug 22 07:38:42 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 VirtualAllocCommitUncommitRecommit
  * @run main ClassFileInstaller sun.hotspot.WhiteBox
  * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail VirtualAllocCommitUncommitRecommit
@@ -161,6 +160,6 @@
         output = new OutputAnalyzer(pb.start());
         output.shouldNotContain("Test (reserved=");
         output.shouldNotMatch("\\[0x[0]*" + Long.toHexString(addr) + " - 0x[0]*"
-                + Long.toHexString(addr + reserveSize) + "\\] reserved");
+                + Long.toHexString(addr + reserveSize) + "\\] reserved 1024KB for Test");
     }
 }