From 3901df708d5e5f599583de2cc46fc0bfee407bf9 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 6 Dec 2024 21:06:37 +0900 Subject: [DOC] Move `GC.config` news To "Core classes updates" from "Language changes". --- NEWS.md | 14 ++++++++------ 1 file 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. -- cgit v1.2.3