1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

NEWS: move GC.compact

From "Implementation improvements" to "Core classes updates".
This commit is contained in:
Nobuyoshi Nakada 2019-06-02 00:42:57 +09:00
parent 3afae5b572
commit 09c09eb0db
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

20
NEWS
View file

@ -75,6 +75,17 @@ FrozenError::
FrozenError in Ruby code, pass it as the second argument to
FrozenError.new.
GC::
New method::
* Added GC.compact method for compacting the heap.
This function compacts live objects in the heap so that fewer pages may
be used, and the heap may be more CoW friendly. [Feature #15626]
Details on the algorithm and caveats can be found here:
https://bugs.ruby-lang.org/issues/15626
Integer::
Modified method::
@ -168,15 +179,6 @@ JIT::
* Default value of +--jit-min-calls+ is changed from 5 to 10,000
GC::
* New `GC.compact` method for compacting the heap.
This function compacts live objects in the heap so that fewer pages may
be used, and the heap may be more CoW friendly. [Feature #15626]
Details on the algorithm and caveats can be found here:
https://bugs.ruby-lang.org/issues/15626
=== Miscellaneous changes
* Require compilers to support C99 [Misc #15347]