@@ -467,14 +467,16 @@ The following bundled gems are promoted from default gems.
467
467
468
468
# ### New features
469
469
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`
478
480
479
481
# ### New optimizations
480
482
@@ -490,6 +492,7 @@ The following bundled gems are promoted from default gems.
490
492
* Specialized codegen for many more runtime methods
491
493
* Optimize ` String#getbyte` , ` String#setbyte` and other string methods
492
494
* Optimize bitwise operations to speed up low- level bit/ byte manipulation
495
+ * Support shareable constants in multi- ractor mode
493
496
* Various other incremental optimizations
494
497
495
498
# # Miscellaneous changes
0 commit comments