ruby-changes:74260
From: Takashi <ko1@a...>
Date: Wed, 26 Oct 2022 23:41:19 +0900 (JST)
Subject: [ruby-changes:74260] b795e66a2d (master): Add NEWS entries about YJIT [ci skip] (#6636)
https://git.ruby-lang.org/ruby.git/commit/?id=b795e66a2d From b795e66a2d085d0bb54eaf51cbc0df3d377d3618 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Wed, 26 Oct 2022 07:40:49 -0700 Subject: Add NEWS entries about YJIT [ci skip] (#6636) --- NEWS.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NEWS.md b/NEWS.md index 3a866040bd..93c0c0713e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -324,6 +324,12 @@ The following deprecated APIs are removed. https://github.com/ruby/ruby/blob/trunk/NEWS.md#L324 * Support arm64 / aarch64 on UNIX platforms. * Building YJIT requires Rust 1.58.1+. [[Feature #18481]] +* Physical memory for JIT code is lazily allocated. Unlike Ruby 3.1, + the RSS of a Ruby process is minimized because virtual memory pages + allocated by `--yjit-exec-mem-size` will not be mapped to physical + memory pages until actually utilized by JIT code. +* Introduce Code GC that frees all code pages when the memory consumption + by JIT code reaches `--yjit-exec-mem-size`. ### MJIT -- cgit v1.2.3 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/