mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 12:34:21 +00:00
[DOC] Move GC.config news
To "Core classes updates" from "Language changes".
This commit is contained in:
parent
0fac583d52
commit
3901df708d
Notes:
git
2024-12-06 12:18:01 +00:00
14
NEWS.md
14
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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user