aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2023-11-28 15:04:33 -0500
committerGitHub <noreply@github.com>2023-11-28 20:04:33 +0000
commit6310522a9a33c19e963e56a8f87388d802525937 (patch)
treea5647994e2ce78e8fc5a1950991b505959d541d5 /doc
parent982641939cf709d22dbc060df57cbed31acd3b97 (diff)
downloadruby-6310522a9a33c19e963e56a8f87388d802525937.tar.gz
YJIT: reduce default exec-mem-size to 64MiB (#9054)
Diffstat (limited to 'doc')
-rw-r--r--doc/yjit/yjit.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/yjit/yjit.md b/doc/yjit/yjit.md
index c0333a584b..3451c50220 100644
--- a/doc/yjit/yjit.md
+++ b/doc/yjit/yjit.md
@@ -168,7 +168,7 @@ YJIT supports all command-line options supported by upstream CRuby, but also add
- `--yjit-call-threshold=N`: number of calls after which YJIT begins to compile a function (default 30)
- `--yjit-cold-threshold=N`: number of global calls after which an ISEQ is considered cold and not
compiled, lower values mean less code is compiled (default 200000)
-- `--yjit-exec-mem-size=N`: size of the executable memory block to allocate, in MiB (default 64 MiB in Ruby 3.2, 128 MiB in Ruby 3.3+)
+- `--yjit-exec-mem-size=N`: size of the executable memory block to allocate, in MiB (default 64 MiB)
- `--yjit-stats`: print statistics after the execution of a program (incurs a run-time cost)
- `--yjit-stats=quiet`: gather statistics while running a program but don't print them. Stats are accessible through `RubyVM::YJIT.runtime_stats`. (incurs a run-time cost)
- `--yjit-trace-exits`: produce a Marshal dump of backtraces from specific exits. Automatically enables `--yjit-stats`