8339542: compiler/codecache/CheckSegmentedCodeCache.java fails

Reviewed-by: mdoerr, shade
This commit is contained in:
Lutz Schmidt 2024-09-26 11:45:09 +00:00
parent 3762ec3978
commit 777c20cb14

View File

@ -179,7 +179,9 @@ public class CheckSegmentedCodeCache {
// Fails if code heap sizes do not add up
pb = ProcessTools.createLimitedTestJavaProcessBuilder("-XX:+SegmentedCodeCache",
"-XX:ReservedCodeCacheSize=10M",
"-XX:NonNMethodCodeHeapSize=5M",
// After fixing a round_down issue with large page sizes (JDK-8334564),
// 5M is a bit too small for NonNMethodCodeHeap
"-XX:NonNMethodCodeHeapSize=6M",
"-XX:ProfiledCodeHeapSize=5M",
"-XX:NonProfiledCodeHeapSize=5M",
"-version");