summaryrefslogtreecommitdiff
path: root/gc.rb
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2020-05-29 15:59:14 -0700
committerAaron Patterson <tenderlove@ruby-lang.org>2020-05-29 15:59:42 -0700
commit9b8825b6f94696c9659f93f5da9bf02644625f67 (patch)
tree630aa0a8b3e96bbf51c585050dc5945bd56c4653 /gc.rb
parent04b5203a031d372b725e407519f10da6deda0e78 (diff)
Update NEWS / documentation with GC.start(compact:true)
Diffstat (limited to 'gc.rb')
-rw-r--r--gc.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/gc.rb b/gc.rb
index 23ed12ffdc..881b8659ce 100644
--- a/gc.rb
+++ b/gc.rb
@@ -26,6 +26,7 @@ module GC
#
# Use full_mark: false to perform a minor GC.
# Use immediate_sweep: false to defer sweeping (use lazy sweep).
+ # Use compact: true to compact the heap (it implies a full mark and sweep).
#
# Note: These keyword arguments are implementation and version dependent. They
# are not guaranteed to be future-compatible, and may be ignored if the