summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-10-26 07:40:49 -0700
committerGitHub <noreply@github.com>2022-10-26 10:40:49 -0400
commitb795e66a2d085d0bb54eaf51cbc0df3d377d3618 (patch)
tree900ae40550d9f71497d7a3e537da42ea3326db1e
parent131c31a9209c61f84d318aa18b61f468f48b8219 (diff)
Add NEWS entries about YJIT [ci skip] (#6636)
Notes
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
-rw-r--r--NEWS.md6
1 files changed, 6 insertions, 0 deletions
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