-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[DOC] Tweaks for GC.config #14137
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
[DOC] Tweaks for GC.config #14137
Conversation
gc.rb
Outdated
# This method is expected to be defined, useful, and well-behaved | ||
# only in the CRuby implementation. |
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 think this is too wordy. Maybe something like "This method is implementation-specific to CRuby" is better?
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.
Done.
# Configuration parameters are \GC implementation-specific and may change | ||
# without notice. |
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.
We should keep this. Ruby now allows alternate GC implementation, and the parameters specified here may not apply to a different implementation.
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.
Restored.
gc.rb
Outdated
# | ||
# When +false+, Young to Old object promotion is disabled. For performance | ||
# reasons, it is recommended to warm up an application using +Process.warmup+ | ||
# Setting this parameter to +false+ disables young-to-old promotion . |
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.
Nit: space before period
# Setting this parameter to +false+ disables young-to-old promotion . | |
# Setting this parameter to +false+ disables young-to-old promotion. |
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.
Fixed.
# A flag will be set to notify that a full mark has been | ||
# requested. This flag is accessible using | ||
# <code>GC.latest_gc_info(:need_major_by)</code> |
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.
This is useful information we should keep.
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.
Restored (with slight reorganization).
No description provided.