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

[GR-43397] Provide a way to get the full list of packages/classes with their related size #5706

Open
sdeleuze opened this issue Jan 5, 2023 · 5 comments
Assignees
Labels

Comments

@sdeleuze
Copy link
Collaborator

sdeleuze commented Jan 5, 2023

It would be useful to be able to see the full list of packages/classes with their related size in addition to the subset we get at the end of each build (see for example #5705 (comment)).

@fniephaus fniephaus self-assigned this Jan 5, 2023
@fniephaus fniephaus changed the title Provide a way to get the full list of packages/classes with their related size [GR-43397] Provide a way to get the full list of packages/classes with their related size Jan 5, 2023
@kristofdho
Copy link

kristofdho commented Jan 10, 2023

that information is already available in the dashboard dump: https://medium.com/graalvm/making-sense-of-native-image-contents-741a688dab4d
However, it does require you to process it yourself and sum up all the relevant entries. Ideally you'd be able to directly see this information in the dashboard itself, but I've been asking for those features for almost 2 years now, and it hasn't seen an update since. A couple references of when I suggested dashboard improvements: #4218, #3648 (yes, the different account is also me)

@fniephaus
Copy link
Member

The new build reports from the latest GraalVM release allow you to look at the full list and drill down on different packages via sunburst chart. We'll expand the functionality in the future and any feedback is welcome. I'll close this ticket for now.

@kristofdho
Copy link

With a sidenote that this is only available in the "new" Oracle GraalVM, so while that does work for image analysis purposes, the license does not permit distribution in our case. So the reported content for Oracle GraalVM would differ from what we actually get from CE.
Are there significant differences in Oracle GraalVM vs GraalVM CE that would affect reachability analysis in such a way that the included packages can differ?

@thomaswue
Copy link
Member

There are small differences in the reachability analysis. Oracle GraalVM will typically be slightly more precise in the analysis of what has to be included in the image.

@zakkak
Copy link
Collaborator

zakkak commented Jun 26, 2023

@fniephaus since, as noted by @kristofdho, this is only available on Oracle GraalVM I believe the issue should remain open till it's addressed on the community edition as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants