Skip to content

Commit 3cce31a

Browse files
committedJul 8, 2024
8335643: serviceability/dcmd/vm tests fail for ZGC after JDK-8322475
Reviewed-by: sgehwolf, dholmes
1 parent 55fd1ed commit 3cce31a

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed
 

‎test/hotspot/jtreg/ProblemList-generational-zgc.txt

-3
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,4 @@ serviceability/sa/sadebugd/PmapOnDebugdTest.java 8307393 generic-
114114
serviceability/sa/sadebugd/RunCommandOnServerTest.java 8307393 generic-all
115115
serviceability/sa/sadebugd/SADebugDTest.java 8307393 generic-all
116116

117-
serviceability/dcmd/vm/SystemMapTest.java 8335643 generic-all
118-
serviceability/dcmd/vm/SystemDumpMapTest.java 8335643 generic-all
119-
120117
vmTestbase/gc/gctests/MemoryEaterMT/MemoryEaterMT.java 8289582 windows-x64

‎test/hotspot/jtreg/ProblemList-zgc.txt

-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,4 @@ serviceability/sa/TestSysProps.java 8302055 generic-
4545

4646
serviceability/sa/TestHeapDumpForInvokeDynamic.java 8315646 generic-all
4747

48-
serviceability/dcmd/vm/SystemMapTest.java 8335643 generic-all
49-
serviceability/dcmd/vm/SystemDumpMapTest.java 8335643 generic-all
50-
5148
vmTestbase/gc/gctests/MemoryEaterMT/MemoryEaterMT.java 8289582 windows-x64

‎test/hotspot/jtreg/serviceability/dcmd/vm/SystemMapTestBase.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ public class SystemMapTestBase {
4242
private static final String regexBase_committed = regexBase + "com.*";
4343
private static final String regexBase_shared_and_committed = regexBase + "shrd,com.*";
4444

45+
// java heap is either committed, non-shared, or - in case of ZGC - committed and shared.
46+
private static final String regexBase_java_heap = regexBase + "(shrd,)?com.*";
4547
protected static final String shouldMatchUnconditionally[] = {
4648
// java launcher
4749
regexBase_committed + "/bin/java",
@@ -54,7 +56,7 @@ public class SystemMapTestBase {
5456
};
5557

5658
protected static final String shouldMatchIfNMTIsEnabled[] = {
57-
regexBase_committed + "JAVAHEAP.*",
59+
regexBase_java_heap + "JAVAHEAP.*",
5860
// metaspace
5961
regexBase_committed + "META.*",
6062
// parts of metaspace should be uncommitted

0 commit comments

Comments
 (0)
Please sign in to comment.