Skip to content

Commit 762e983

Browse files
author
Andrew Lu
committed
8317831: compiler/codecache/CheckLargePages.java fails on OL 8.8 with unexpected memory string
Reviewed-by: mdoerr Backport-of: 86b27b784e20f7cdadd241f7feedd024482baa8f
1 parent 8cb3b1f commit 762e983

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

test/hotspot/jtreg/ProblemList.txt

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ compiler/vectorapi/VectorLogicalOpIdentityTest.java 8302459 linux-x64,windows-x6
7373

7474
compiler/jvmci/TestUncaughtErrorInCompileMethod.java 8309073 generic-all
7575

76+
compiler/codecache/CheckLargePages.java 8319795 linux-x64
77+
7678
#############################################################################
7779

7880
# :hotspot_gc

test/hotspot/jtreg/compiler/codecache/CheckLargePages.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public static void main(String[] args) throws Exception {
6262
out.shouldMatch("Code cache size too small for \\S* pages\\. Reverting to smaller page size \\((\\S*)\\)\\.");
6363
out.shouldHaveExitValue(0);
6464
// Parse page sizes to find next biggest page
65-
String sizes = out.firstMatch("Usable page sizes:(.*)", 1);
65+
String sizes = out.firstMatch("Usable page sizes:([^.]+)", 1);
6666
List<Long> sizeList = Arrays.stream(sizes.trim().split("\\s*,\\s*")).map(CheckLargePages::parseMemoryString).sorted().toList();
6767
final int smallerPageSizeIndex = sizeList.indexOf(largePageSize) - 1;
6868
Asserts.assertGreaterThanOrEqual(smallerPageSizeIndex, 0);

0 commit comments

Comments
 (0)