Skip to content
Permalink
Browse files
8263236: runtime/os/TestTracePageSizes.java fails on old kernels
Reviewed-by: dholmes, sjohanss, stuefe
  • Loading branch information
shipilev committed May 6, 2021
1 parent 0ca86da commit 36e5ad61e63e2f1da9cf565c607db28f23622ea9
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/hotspot/jtreg/runtime/os/TestTracePageSizes.java
@@ -103,7 +103,7 @@
private static void parseSmaps() throws Exception {
String smapsPatternString = "(\\w+)-(\\w+).*?" +
"KernelPageSize:\\s*(\\d*) kB.*?" +
"VmFlags: ([\\w ]*)";
"VmFlags: ([\\w\\? ]*)";
Pattern smapsPattern = Pattern.compile(smapsPatternString, Pattern.DOTALL);
Scanner smapsScanner = new Scanner(new File("/proc/self/smaps"));
// Find all memory segments in the smaps-file.

0 comments on commit 36e5ad6

Please sign in to comment.