Skip to content

Commit

Permalink
adjust the correct CodeHeap size
Browse files Browse the repository at this point in the history
  • Loading branch information
RealLucy committed Sep 25, 2024
1 parent a441303 commit a335d29
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ public static void main(String[] args) throws Exception {
// Fails if code heap sizes do not add up
pb = ProcessTools.createLimitedTestJavaProcessBuilder("-XX:+SegmentedCodeCache",
"-XX:ReservedCodeCacheSize=10M",
"-XX:NonNMethodCodeHeapSize=5M",
"-XX:ProfiledCodeHeapSize=5M",
// After fixing a round_down issue with large page sizes (JDK-8334564),
// 5M is a bit too small for NonProfiledCodeHeap
"-XX:NonProfiledCodeHeapSize=6M",
// 5M is a bit too small for NonNMethodCodeHeap
"-XX:NonNMethodCodeHeapSize=6M",
"-XX:ProfiledCodeHeapSize=5M",
"-XX:NonProfiledCodeHeapSize=5M",
"-version");
failsWith(pb, "Invalid code heap sizes");

Expand Down

0 comments on commit a335d29

Please sign in to comment.