From bbf0ba5607111bc67870a6b8e3603e55e12fa1f5 Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Wed, 6 Nov 2024 09:24:39 -0800 Subject: [PATCH 1/2] Set TieredStopAtLevel=1 on JDK 21. --- pom.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pom.xml b/pom.xml index 52cfca70287e..867fe34a4e3e 100644 --- a/pom.xml +++ b/pom.xml @@ -133,6 +133,7 @@ 2.29.1 + maven.org Maven Central Repository https://repo1.maven.org/maven2/ @@ -1779,6 +1780,7 @@ @{jacocoArgLine} ${jdk.strong.encapsulation.argLine} ${jdk.security.manager.allow.argLine} + ${jdk.tiered.compilation.argLine} -Xmx2048m -XX:MaxDirectMemorySize=2500m -XX:+ExitOnOutOfMemoryError @@ -1938,6 +1940,18 @@ inline + + java-21+ + + [21,) + + + + + -XX:TieredStopAtLevel=1 + + + java-12+ From 383e3b8bd029b540c4a668dfefa3e200324c6f5d Mon Sep 17 00:00:00 2001 From: Gian Merlino Date: Wed, 6 Nov 2024 11:31:10 -0800 Subject: [PATCH 2/2] Set ReservedCodeCacheSize=512m. --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 867fe34a4e3e..9623457bd3c6 100644 --- a/pom.xml +++ b/pom.xml @@ -1949,6 +1949,7 @@ -XX:TieredStopAtLevel=1 + -XX:ReservedCodeCacheSize=512m