Skip to content
Discussion options

You must be logged in to vote

I asked that question to Quarkus when they temporarily wanted me to include reachability metadata. That was before there was a standard format and they used jandex for the manifest. Afterwards they decided against it because it led to larger binaries since it no longer prunes to just what the application uses. For anything configuration-driven the AOT processor cannot know what path to take, causing it to include the universe of classes instead of the relevant subset.

Caffeine uses code generation to optimize the memory usage to only the fields in use (e.g. expiration, weak keys). This is ideal on the JVM since there is no cost for unloaded classes and a slightly larger jar file is prefer…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
9 replies
@Stephan202
Comment options

@nielsbasjes
Comment options

@nielsbasjes
Comment options

@nielsbasjes
Comment options

@ben-manes
Comment options

Answer selected by ben-manes
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants