From eab21eacb32a955b64185918a9f997e530971f9b Mon Sep 17 00:00:00 2001 From: gtriantafill Date: Fri, 22 Aug 2014 07:38:42 -0700 Subject: [PATCH] 8055053: [TESTBUG] runtime/NMT/VirtualAllocCommitUncommitRecommit.java fails Reviewed-by: ctornqvi, zgu --- test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java b/test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java index 76a278b8c..82990cff1 100644 --- a/test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java +++ b/test/runtime/NMT/VirtualAllocCommitUncommitRecommit.java @@ -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 @@ public class VirtualAllocCommitUncommitRecommit { 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"); } } -- GitLab