summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-12-06 21:06:37 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-12-06 21:12:57 +0900
commit3901df708d5e5f599583de2cc46fc0bfee407bf9 (patch)
tree1297ee61c48994c2c3047054dd56d4a639e2ea12
parent0fac583d52118a71f44eb38e24bf0be9697d066d (diff)
[DOC] Move `GC.config` news
To "Core classes updates" from "Language changes".
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12278
-rw-r--r--NEWS.md14
1 files changed, 8 insertions, 6 deletions
diff --git a/NEWS.md b/NEWS.md
index ffc372a60a..685a4eb297 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -25,12 +25,6 @@ Note that each entry is kept to a minimum, see links for details.
* Keyword arguments are no longer allowed in index assignment
(e.g. `a[0, kw: 1] = 2`). [[Bug #20218]]
-* GC.config added to allow setting configuration variables on the Garbage
- Collector. [[Feature #20443]]
-
-* GC configuration parameter `rgengc_allow_full_mark` introduced. When `false`
- GC will only mark young objects. Default is `true`. [[Feature #20443]]
-
## Core classes updates
Note: We're only listing outstanding class updates.
@@ -40,6 +34,14 @@ Note: We're only listing outstanding class updates.
* Exception#set_backtrace now accepts arrays of Thread::Backtrace::Location.
Kernel#raise, Thread#raise and Fiber#raise also accept this new format. [[Feature #13557]]
+* GC
+
+ * GC.config added to allow setting configuration variables on the Garbage
+ Collector. [[Feature #20443]]
+
+ * GC configuration parameter `rgengc_allow_full_mark` introduced. When `false`
+ GC will only mark young objects. Default is `true`. [[Feature #20443]]
+
* Hash
* Hash.new now accepts an optional `capacity:` argument, to preallocate the hash with a given capacity.