10000 [DOC] Categorize YJIT new features · github/ruby@4e4b87d · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e4b87d

Browse files
committed
[DOC] Categorize YJIT new features
1 parent e46314e commit 4e4b87d

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

NEWS.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -467,14 +467,16 @@ The following bundled gems are promoted from default gems.
467467

468468
#### New features
469469

470-
* Add unified memory limit via `--yjit-mem-size` command-line option (default 128MiB)
471-
which tracks total YJIT memory usage and is more intuitive than the
472-
old `--yjit-exec-mem-size`.
473-
* More statistics now always available via `RubyVM::YJIT.runtime_stats`
474-
* Add compilation log to track what gets compiled via `--yjit-log`
475-
* Tail of the log also available at run-time via `RubyVM::YJIT.log`
476-
* Add support for shareable consts in multi-ractor mode
477-
* Can now trace counted exits with `--yjit-trace-exits=COUNTER`
470+
* Command-line options
471+
* `--yjit-mem-size` introduces a unified memory limit (default 128MiB) to track total YJIT memory usage,
472+
providing a more intuitive alternative to the old `--yjit-exec-mem-size` option.
473+
* `--yjit-trace-exits=COUNTER` allows tracing of counted exits and fallbacks.
474+
* `--yjit-log` enables a compilation log to track what gets compiled.
475+
* Ruby API
476+
* `RubyVM::YJIT.enable(log: true)` also enables a compilation log.
477+
* `RubyVM::YJIT.log` provides access to the tail of the compilation log at run-time.
478+
* YJIT stats
479+
* More statistics now always available via `RubyVM::YJIT.runtime_stats`
478480

479481
#### New optimizations
480482

@@ -490,6 +492,7 @@ The following bundled gems are promoted from default gems.
490492
* Specialized codegen for many more runtime methods
491493
* Optimize `String#getbyte`, `String#setbyte` and other string methods
492494
* Optimize bitwise operations to speed up low-level bit/byte manipulation
495+
* Support shareable constants in multi-ractor mode
493496
* Various other incremental optimizations
494497

495498
## Miscellaneous changes

0 commit comments

Comments
 (0)
0