summaryrefslogtreecommitdiff
path: root/gc.rb
diff options
context:
space:
mode:
authorMatt Valentine-House <[email protected]>2024-12-20 16:30:23 +0000
committerMatt Valentine-House <[email protected]>2024-12-20 19:47:01 +0000
commit07724d7b6f96f3758c64d7cede3c72b5b317e41e ()
treeb6eb77989b6f3bc53bc1bd0e61d3ee730134aef7 /gc.rb
parent5d1fde06d489893a846bf0e69d18d958a827c27c (diff)
[DOC] Document the :implementation key of GC.config
Notes: Merged: https://.com/ruby/ruby/pull/12411
-rw-r--r--gc.rb21
1 files changed, 19 insertions, 2 deletions
@@ -257,7 +257,8 @@ module GC
# Configuration parameters are \GC implementation-specific and may change
# without notice.
#
- # This method can be called without parameters to retrieve the current config.
#
# This method can also be called with a +Hash+ argument to assign values to
# valid config keys. Config keys missing from the passed +Hash+ will be left
@@ -275,7 +276,23 @@ module GC
#
# This method is only expected to work on CRuby.
#
- # Valid config keys for Ruby's default \GC implementation are:
#
# [rgengc_allow_full_mark]
# Controls whether the \GC is allowed to run a full mark (young & old objects).