Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set TieredStopAtLevel=1 on JDK 21. #17456

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
<com.google.cloud.storage.version>2.29.1</com.google.cloud.storage.version>
<jdk.strong.encapsulation.argLine><!-- empty placeholder --></jdk.strong.encapsulation.argLine>
<jdk.security.manager.allow.argLine><!-- empty placeholder --></jdk.security.manager.allow.argLine>
<jdk.tiered.compilation.argLine><!-- empty placeholder --></jdk.tiered.compilation.argLine>
<repoOrgId>maven.org</repoOrgId>
<repoOrgName>Maven Central Repository</repoOrgName>
<repoOrgUrl>https://repo1.maven.org/maven2/</repoOrgUrl>
Expand Down Expand Up @@ -1779,6 +1780,7 @@
@{jacocoArgLine}
${jdk.strong.encapsulation.argLine}
${jdk.security.manager.allow.argLine}
${jdk.tiered.compilation.argLine}
-Xmx2048m
-XX:MaxDirectMemorySize=2500m
-XX:+ExitOnOutOfMemoryError
Expand Down Expand Up @@ -1938,6 +1940,19 @@
<mockito.inline.artifact>inline</mockito.inline.artifact>
</properties>
</profile>
<profile>
<id>java-21+</id>
<activation>
<jdk>[21,)</jdk>
</activation>
<properties>
<jdk.tiered.compilation.argLine>
<!-- required to work around segfault described inhttps://github.com/apache/druid/issues/17429 -->
-XX:TieredStopAtLevel=1
-XX:ReservedCodeCacheSize=512m
</jdk.tiered.compilation.argLine>
</properties>
</profile>
<profile>
<id>java-12+</id>
<activation>
Expand Down
Loading