-
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
Adjust GC related settings for tests #15632
Conversation
06bd876
to
1a6cc43
Compare
please include this in commit message and/or code comment |
@@ -92,6 +92,9 @@ | |||
Force bigger region size in attempt to help G1 utilize heap fully. --> | |||
<air.test.jvm.additional-arguments> | |||
-XX:G1HeapRegionSize=32M | |||
-XX:+UnlockDiagnosticVMOptions | |||
-XX:GCLockerRetryAllocationCount=10 |
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.
only 10?
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 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 comment
The reason will be displayed to describe this comment to others. Learn more.
oh, thought default is about 10. fine.
maybe add <!-- bump from default of 2 -->
?
@@ -92,6 +92,9 @@ | |||
Force bigger region size in attempt to help G1 utilize heap fully. --> | |||
<air.test.jvm.additional-arguments> | |||
-XX:G1HeapRegionSize=32M | |||
-XX:+UnlockDiagnosticVMOptions |
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 😃
1a6cc43
to
7d057be
Compare
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.
% comments
To exclude the possibility of GCLocker and PreventiveGC related issues
7d057be
to
b7ca58a
Compare
Description
To exclude the possibility of GCLocker and PreventiveGC related issues
Additional context and related issues
#15293
Release notes
(X) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text: