Skip to content

Commit 7fb909e

Browse files
committed
[DOC] Reverse-merge YJIT release note changes
1 parent 47f950c commit 7fb909e

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

NEWS.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -170,26 +170,29 @@ changelog for details of the default gems or bundled gems.
170170
* More calls with optional arguments are compiled.
171171
* Exception handlers are also compiled.
172172
* Instance variables no longer exit to the interpreter
173-
with megamorphic Object Shapes.
173+
with megamorphic object shapes.
174174
* Unsupported call types no longer exit to the interpreter.
175-
* Integer#!=, String#!=, Kernel#block_given?, Kernel#is_a?,
176-
Kernel#instance_of?, Module#=== are specially optimized.
175+
* `Integer#!=`, `String#!=`, `Kernel#block_given?`, `Kernel#is_a?`,
176+
`Kernel#instance_of?`, `Module#===` are specially optimized.
177177
* Now more than 3x faster than the interpreter on optcarrot!
178-
* Metadata for compiled code uses a lot less memory.
179-
* Generate more compact code on ARM64
178+
* Significantly improved memory usage over 3.2
179+
* Metadata for compiled code uses a lot less memory.
180+
* Generate more compact code on ARM64
181+
* Compilation speed is now slightly faster than 3.2.
180182
* Add `RubyVM::YJIT.enable` that can enable YJIT later
181183
* You can start YJIT without modifying command-line arguments or environment variables.
182184
* This can also be used to enable YJIT only once your application is
183185
done booting. `--yjit-disable` can be used if you want to use other
184186
YJIT options while disabling YJIT at boot.
185-
* `ratio_in_yjit` stat produced by `--yjit-stats` is now available in release builds,
186-
a special stats or dev build is no longer required.
187+
* Option to disable code GC and treat `--yjit-exec-mem-size` as a hard limit
188+
* Can produce better copy-on-write behavior on servers using unicorn and forking
189+
* `ratio_in_yjit` stat produced by `--yjit-stats` is now avaiable in release builds,
190+
a special stats or dev build is no longer required to access most stats.
187191
* Exit tracing option now supports sampling
188192
* `--trace-exits-sample-rate=N`
193+
* More thorough testing and multiple bug fixes
189194
* `--yjit-stats=quiet` is added to avoid printing stats on exit.
190195
* `--yjit-perf` is added to facilitate profiling with Linux perf.
191-
* The default value for `--yjit-exec-mem-size` is changed from 64 to 128.
192-
* More thorough testing and multiple bug fixes
193196

194197
### MJIT
195198

0 commit comments

Comments
 (0)