summaryrefslogtreecommitdiff
path: root/NEWS.md
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2020-11-02 14:40:29 -0800
committerAaron Patterson <tenderlove@ruby-lang.org>2020-11-02 14:42:48 -0800
commit67b2c21c327c96d80b8a0fe02a96d417e85293e8 (patch)
treec4ea1236016fc2b7e40582a69966d35c5f8c7289 /NEWS.md
parent79b242260bc0530503dde85eda8e79b1c2aa9a6e (diff)
Add `GC.auto_compact= true/false` and `GC.auto_compact`
* `GC.auto_compact=`, `GC.auto_compact` can be used to control when compaction runs. Setting `auto_compact=` to true will cause compaction to occurr duing major collections. At the moment, compaction adds significant overhead to major collections, so please test first! [Feature #17176]
Diffstat (limited to 'NEWS.md')
-rw-r--r--NEWS.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/NEWS.md b/NEWS.md
index 2fa1b3db2e..ecf9c77aaa 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -262,6 +262,16 @@ Outstanding ones only.
* Warning#warn now supports a category kwarg.
[[Feature #17122]]
+* GC
+ * New method
+
+ * `GC.auto_compact=`, `GC.auto_compact` can be used to control when
+ compaction runs. Setting `auto_compact=` to true will cause
+ compaction to occurr duing major collections. At the moment,
+ compaction adds significant overhead to major collections, so please
+ test first!
+ [[Feature #17176]]
+
## Stdlib updates
Outstanding ones only.