diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-07-05 14:21:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-05 14:21:02 -0700 |
| commit | 9c1776e6b09fbad4a13de35179c8e7c7c7e6ea08 (patch) | |
| tree | 36e66b8d51955546dd45687de98497f7f93e238e | |
| parent | f314656c238f799e26f49658b798379ccaf376ea (diff) | |
YJIT: Use --yjit-exec-mem-size=128 by default (#8031)
Notes
Notes:
Merged-By: k0kubun <takashikkbn@gmail.com>
| -rw-r--r-- | ruby.c | 2 | ||||
| -rw-r--r-- | yjit/src/options.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -366,7 +366,7 @@ usage(const char *name, int help, int highlight, int columns) M("--yjit-stats", "", "Enable collecting YJIT statistics"), M("--yjit-trace-exits", "", "Record Ruby source location when exiting from generated code"), M("--yjit-trace-exits-sample-rate", "", "Trace exit locations only every Nth occurrence"), - M("--yjit-exec-mem-size=num", "", "Size of executable memory block in MiB (default: 64)"), + M("--yjit-exec-mem-size=num", "", "Size of executable memory block in MiB (default: 128)"), 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)"), diff --git a/yjit/src/options.rs b/yjit/src/options.rs index 78a507ce11..f08217bfc2 100644 --- a/yjit/src/options.rs +++ b/yjit/src/options.rs @@ -54,7 +54,7 @@ pub struct Options { // Initialize the options to default values pub static mut OPTIONS: Options = Options { - exec_mem_size: 64 * 1024 * 1024, + exec_mem_size: 128 * 1024 * 1024, call_threshold: 30, greedy_versioning: false, no_type_prop: false, |
