File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,14 @@ Outstanding ones only.
108
108
* Symbol # to_proc now returns a lambda Proc.
109
109
[[Feature # 16260]]
110
110
111
+ * GC
112
+
113
+ * Modified method
114
+
115
+ * GC .start now takes an option ` compact: true` to compact the heap.
116
+ For example ` GC.start(compact: true)` will have the same effect as
117
+ ` GC.compact` .
118
+
111
119
# # Stdlib updates
112
120
113
121
Outstanding ones only.
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ module GC
26
26
#
27
27
# Use full_mark: false to perform a minor GC.
28
28
# Use immediate_sweep: false to defer sweeping (use lazy sweep).
29
+ # Use compact: true to compact the heap (it implies a full mark and sweep).
29
30
#
30
31
# Note: These keyword arguments are implementation and version dependent. They
31
32
# are not guaranteed to be future-compatible, and may be ignored if the
You can’t perform that action at this time.
0 commit comments