summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-02 13:16:09 -0800
committerGitHub <noreply@github.com>2023-03-02 16:16:09 -0500
commita9f4e5cc6099f2b2f6202e5ac252edddc07492f8 (patch)
treee2bd2097a76b3b8db45b2bb907b25fcb965a3c24 /ruby.c
parent446708409809e4164420f7ae842f0b97928fa3dd (diff)
downloadruby-a9f4e5cc6099f2b2f6202e5ac252edddc07492f8.tar.gz
YJIT: Fix default call threshold in help (#7424)
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 8287869d20..bddd7ec903 100644
--- a/ruby.c
+++ b/ruby.c
@@ -339,7 +339,7 @@ usage(const char *name, int help, int highlight, int columns)
static const struct ruby_opt_message yjit_options[] = {
M("--yjit-stats", "", "Enable collecting YJIT statistics"),
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-call-threshold=num", "", "Number of calls to trigger JIT (default: 30)"),
M("--yjit-max-versions=num", "", "Maximum number of versions per basic block (default: 4)"),
M("--yjit-greedy-versioning", "", "Greedy versioning mode (default: disabled)"),
};