-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Adjust GC related settings for tests #15632
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,6 +92,10 @@ | |
Force bigger region size in attempt to help G1 utilize heap fully. --> | ||
<air.test.jvm.additional-arguments> | ||
-XX:G1HeapRegionSize=32M | ||
-XX:+UnlockDiagnosticVMOptions | ||
<!-- bump from default of 2 --> | ||
-XX:GCLockerRetryAllocationCount=10 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. only 10? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's 2 by default, I think 10 should be sufficient. Do you think it should be higher? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh, thought default is about 10. fine. |
||
-XX:-G1UsePreventiveGC | ||
</air.test.jvm.additional-arguments> | ||
|
||
<air.javadoc.lint>-missing</air.javadoc.lint> | ||
|
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.
is it required to set XX:GCLockerRetryAllocationCount ?
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.
It's actually needed for both 😃