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

[Docs] Add some notes about native-image flags we use #2190

Merged
merged 1 commit into from
Apr 24, 2019

Conversation

Sanne
Copy link
Member

@Sanne Sanne commented Apr 23, 2019

No description provided.

Copy link
Member

@gsmet gsmet left a 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:
Copy link
Member

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?

Copy link
Member Author

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`.
Copy link
Member

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?

Copy link
Member Author

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.

@gsmet gsmet added this to the 0.14.0 milestone Apr 23, 2019
@Sanne
Copy link
Member Author

Sanne commented Apr 23, 2019

improved based on @gsmet 's feedback, then rebased as well.

@gsmet gsmet merged commit 097c443 into quarkusio:master Apr 24, 2019
@Sanne Sanne deleted the NotesForNative branch April 24, 2019 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants