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

Java 11 native builds are about 20% slower than Java8 #7080

Closed
dmlloyd opened this issue Feb 7, 2020 · 2 comments
Closed

Java 11 native builds are about 20% slower than Java8 #7080

dmlloyd opened this issue Feb 7, 2020 · 2 comments
Labels
area/build env/graalvm-java11 Relating to using GraalVM native image generation on Java 11 kind/bug Something isn't working

Comments

@dmlloyd
Copy link
Member

dmlloyd commented Feb 7, 2020

Describe the bug
Java 11 native image builds process more classes, methods, and fields than Java 8 native builds. The corresponding added heap and GC load is likely the cause of a ~20% slowdown for native image builds of small-sized projects (like quickstarts).

This is the downstream issue for oracle/graal#2129. See that issue for the nitty gritty details.

We should look into what we can do to trim classes that we do not need from the build, like Truffle for example. @jaikiran has done a really great analysis on the upstream issue.

@dmlloyd dmlloyd added the kind/bug Something isn't working label Feb 7, 2020
@dmlloyd dmlloyd mentioned this issue Feb 7, 2020
18 tasks
@dmlloyd dmlloyd added area/build env/graalvm-java11 Relating to using GraalVM native image generation on Java 11 labels Feb 7, 2020
@geoand
Copy link
Contributor

geoand commented Nov 28, 2022

I think this can be closes now, right?

@gsmet
Copy link
Member

gsmet commented Nov 28, 2022

Yeah, reading the upstream issue, I think we can close this.

@gsmet gsmet closed this as not planned Won't fix, can't repro, duplicate, stale Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build env/graalvm-java11 Relating to using GraalVM native image generation on Java 11 kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants