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
Require JDK 17.0.3 #13014
Require JDK 17.0.3 #13014
Conversation
c365159
to
34e6d8d
Compare
@wendigo Do we have any follow-up plans on the TPC-H or TPC-DS tests to see how upgrading JDK17 affects performance? |
@tangjiangling we've already benchmarked Trino on JDK 17 and there are minor improvements and no regressions (which is something that we expected). We are moving to JDK17 to leverage new APIs and language features, rather than expecting some large performance boost. |
34e6d8d
to
8aa68c7
Compare
I ran some microbenchmarks a few months ago and observed a 10-15% performance improvement in some code paths, so we expect things to be generally faster. |
trino-hive test failed with OOM. Phoenix5 failed as expected - waiting for 5.2 release, which should fix the underlying issue. |
91ec1ab
to
b810916
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possibly commits need to be reordered.
.../src/main/java/org/apache/phoenix/shaded/org/apache/zookeeper/client/StaticHostProvider.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/apache/phoenix/shaded/org/apache/zookeeper/client/StaticHostProvider.java
Outdated
Show resolved
Hide resolved
b810916
to
88beebb
Compare
88beebb
to
303c99d
Compare
b992145
to
442106a
Compare
...uct-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/EnvironmentOptions.java
Show resolved
Hide resolved
If we switch to run tests on 17 only (as done in this PR).. we should make 17 a requirement in the docs and the launcher .. otherwise we should run on 11 and 17 .. Personally I think we should make 17 the requirement in the docs now. And in the launcher use a warning that 11 is deprecated and no longer tested. And then in another few releases .. we make 17 the requirement in the launcher as well. We have been announcing and messaging the move for a while already. |
14771c3
to
79ed19e
Compare
JDK 17.0.3 is required. I've switched Docker to build from official azul jdk image. |
8920e01
to
c884bb9
Compare
@martint I've extracted docker change to a separate commit |
c884bb9
to
53018f8
Compare
The first commit should update the docker image to download and install the new JDK. Otherwise, if we do have to back out the second commit for any reason, the docker images will no longer work without additional changes. |
4b202c9
to
7bce3e0
Compare
@martint done |
fc42233
to
1d4f35d
Compare
Yuhuuu! 🎉 |
-XX:-UseBiasedLocking | ||
-XX:+UseG1GC | ||
-XX:InitialRAMPercentage=80 | ||
-XX:MaxRAMPercentage=80 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The removal of -Xmx1G
doesn't seem related to Java 17 support and may be a breaking change for users.
@@ -1,6 +1,5 @@ | |||
-server | |||
-Xmx2G | |||
-XX:-UseBiasedLocking | |||
-XX:+UseG1GC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove -XX:+UseG1GC
as elsewhere?
...resources/docker/presto-product-tests/conf/environment/multinode/multinode-worker-jvm.config
Show resolved
Hide resolved
Thx @findepi. I will do a follow up PR with gc flags cleanup |
Documentation
(x) Sufficient documentation is included in this PR.
Release notes
(x) Release notes entries required with the following suggested text: