Skip to content

Commit 777c20c

Browse files
committed
8339542: compiler/codecache/CheckSegmentedCodeCache.java fails
Reviewed-by: mdoerr, shade
1 parent 3762ec3 commit 777c20c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,9 @@ public static void main(String[] args) throws Exception {
179179
// Fails if code heap sizes do not add up
180180
pb = ProcessTools.createLimitedTestJavaProcessBuilder("-XX:+SegmentedCodeCache",
181181
"-XX:ReservedCodeCacheSize=10M",
182-
"-XX:NonNMethodCodeHeapSize=5M",
182+
// After fixing a round_down issue with large page sizes (JDK-8334564),
183+
// 5M is a bit too small for NonNMethodCodeHeap
184+
"-XX:NonNMethodCodeHeapSize=6M",
183185
"-XX:ProfiledCodeHeapSize=5M",
184186
"-XX:NonProfiledCodeHeapSize=5M",
185187
"-version");

0 commit comments

Comments
 (0)