-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[Docs] Add some notes about native-image flags we use #2190
Conversation
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.
@Sanne nice addition. I added 2 comments inline, could you take a look before merging?
a combination of all these. | ||
|
||
Generally speaking the ones listed here are those most likely to affect performance metrics, but in the right | ||
circumstances one could observe non negligible impact from the other flags too: |
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.
Really minor but did you really want a colon here at the end of the sentence?
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.
no I didn't. There was a sentence t hat I decided to remove.. Thanks!
=== Better default for Garbage Collection implementation | ||
|
||
The default in GraalVM seems meant to optimise for short lived processes. Quarkus defaults to server applications, so switch: | ||
set `-H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime`. |
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.
I wonder if there's something wrong with switch: set
or if it's just me?
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.
what's wrong? LGTM but I'll rephrase for clarity.
improved based on @gsmet 's feedback, then rebased as well. |
No description provided.