diff options
-rw-r--r-- | .github/workflows/mjit.yml | 2 | ||||
-rw-r--r-- | mjit.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/mjit.yml b/.github/workflows/mjit.yml index f16c1f790b..2508206636 100644 --- a/.github/workflows/mjit.yml +++ b/.github/workflows/mjit.yml @@ -30,7 +30,7 @@ jobs: matrix: # main variables included in the job name test_task: [check] - run_opts: ['--mjit'] + run_opts: ['--mjit-call-threshold=1'] arch: [''] fail-fast: false env: @@ -187,7 +187,7 @@ rb_mjit_recompile_const(const rb_iseq_t *iseq) // Default permitted number of units with a JIT code kept in memory. #define DEFAULT_MAX_CACHE_SIZE 100 // A default threshold used to add iseq to JIT. -#define DEFAULT_CALL_THRESHOLD 1 +#define DEFAULT_CALL_THRESHOLD 30 #define opt_match_noarg(s, l, name) \ opt_match(s, l, name) && (*(s) ? (rb_warn("argument to --mjit-" name " is ignored"), 1) : 1) |