YJIT: Fix default call threshold in help (#7424)

This commit is contained in:
Takashi Kokubun 2023-03-02 13:16:09 -08:00 committed by GitHub
parent 4467084098
commit a9f4e5cc60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
Notes: git 2023-03-02 21:16:29 +00:00
Merged-By: maximecb <maximecb@ruby-lang.org>

2
ruby.c
View File

@ -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)"),
};