From b795e66a2d085d0bb54eaf51cbc0df3d377d3618 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Wed, 26 Oct 2022 07:40:49 -0700 Subject: [PATCH] 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. * 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