Skip to content

Commit 36e5ad6

Browse files
committed
8263236: runtime/os/TestTracePageSizes.java fails on old kernels
Reviewed-by: dholmes, sjohanss, stuefe
1 parent 0ca86da commit 36e5ad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/hotspot/jtreg/runtime/os/TestTracePageSizes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class TestTracePageSizes {
103103
private static void parseSmaps() throws Exception {
104104
String smapsPatternString = "(\\w+)-(\\w+).*?" +
105105
"KernelPageSize:\\s*(\\d*) kB.*?" +
106-
"VmFlags: ([\\w ]*)";
106+
"VmFlags: ([\\w\\? ]*)";
107107
Pattern smapsPattern = Pattern.compile(smapsPatternString, Pattern.DOTALL);
108108
Scanner smapsScanner = new Scanner(new File("/proc/self/smaps"));
109109
// Find all memory segments in the smaps-file.

0 commit comments

Comments
 (0)