Improve NEWS.md for modular GC [DOC]
This commit is contained in:
parent
979543e7bf
commit
5edf1c8feb
Notes:
git
2024-12-10 17:59:54 +00:00
24
NEWS.md
24
NEWS.md
@ -326,16 +326,22 @@ details of the default gems or bundled gems.
|
|||||||
[[Feature #20782]]
|
[[Feature #20782]]
|
||||||
* Array#each is rewritten in Ruby for better performance [[Feature #20182]].
|
* Array#each is rewritten in Ruby for better performance [[Feature #20182]].
|
||||||
|
|
||||||
* Alternative GC implementations can be loaded dynamically. Configure Ruby
|
* Alternative garbage collector (GC) implementations can be loaded dynamically
|
||||||
`--with-modular-gc` to enable. Alternative GC libraries can be loaded at runtime
|
through the modular garbage collector feature. To enable this feature,
|
||||||
using the environment variable `RUBY_GC_LIBRARY`. [[Feature #20351]],
|
configure Ruby with `--with-modular-gc` at build time. GC libraries can be
|
||||||
[[Feature #20470]]
|
loaded at runtime using the environment variable `RUBY_GC_LIBRARY`.
|
||||||
|
[[Feature #20351]]
|
||||||
|
|
||||||
* An experimental GC library is provided based on MMTk. Configure Ruby
|
* Ruby's built-in garbage collector has been split into a separate file at
|
||||||
`--with-modular-gc`, build as normal, then build the GC library: `make
|
`gc/default/default.c` and interacts with Ruby using an API defined in
|
||||||
modular-gc MODULAR_GC=mmtk`. Enable with `RUBY_GC_LIBRARY=mmtk`. This
|
`gc/gc_impl.h`. The built-in garbage collector can now also be built as a
|
||||||
requires a working Rust compiler, and Cargo on the build machine.
|
library using `make modular-gc MODULAR_GC=default` and enabled using the
|
||||||
[[Feature #20860]]
|
environment variable `RUBY_GC_LIBRARY=default`. [[Feature #20470]]
|
||||||
|
|
||||||
|
* An experimental GC library is provided based on [MMTk](https://www.mmtk.io/).
|
||||||
|
This GC library can be built using `make modular-gc MODULAR_GC=mmtk` and
|
||||||
|
enabled using the environment variable `RUBY_GC_LIBRARY=mmtk`. This requires
|
||||||
|
the Rust toolchain on the build machine. [[Feature #20860]]
|
||||||
|
|
||||||
## JIT
|
## JIT
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user