summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-12-13 08:00:22 -0800
committerGitHub <noreply@github.com>2022-12-13 11:00:22 -0500
commita66a69865d444509710253d3210a1e72bcd040f9 (patch)
treef8e1c0f01a90485b174a809d13a85b680009055a /ruby.c
parent99d0a257af54aa819c6ced5f1ff8ff37e3d5342b (diff)
downloadruby-a66a69865d444509710253d3210a1e72bcd040f9.tar.gz
YJIT: Change the default mem size to 64MiB (#6912)
* YJIT: Change the default mem size to 64MiB * Also update ruby --help Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index 9ece8a27a2..297ebb5c26 100644
--- a/ruby.c
+++ b/ruby.c
@@ -340,7 +340,7 @@ usage(const char *name, int help, int highlight, int columns)
#if YJIT_STATS
M("--yjit-stats", "", "Enable collecting YJIT statistics"),
#endif
- M("--yjit-exec-mem-size=num", "", "Size of executable memory block in MiB (default: 256)"),
+ M("--yjit-exec-mem-size=num", "", "Size of executable memory block in MiB (default: 64)"),
M("--yjit-call-threshold=num", "", "Number of calls to trigger JIT (default: 10)"),
M("--yjit-max-versions=num", "", "Maximum number of versions per basic block (default: 4)"),
M("--yjit-greedy-versioning", "", "Greedy versioning mode (default: disabled)"),