[前][次][番号順一覧][スレッド一覧]

ruby-changes:70800

From: Kazuhiro <ko1@a...>
Date: Mon, 10 Jan 2022 20:18:37 +0900 (JST)
Subject: [ruby-changes:70800] c764e368bd (master): Fix default --jit-max-cache in `ruby --help`

https://git.ruby-lang.org/ruby.git/commit/?id=c764e368bd

From c764e368bd9c0487e6cc97f8a62e0e0e99a0d7c5 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Mon, 10 Jan 2022 20:17:05 +0900
Subject: Fix default --jit-max-cache in `ruby --help`

changed at 028f1887c2bfa50dcfc1b623470d6ab1b880fdde
---
 ruby.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ruby.c b/ruby.c
index 88b5e1d7850..c807b8be5e8 100644
--- a/ruby.c
+++ b/ruby.c
@@ -361,7 +361,7 @@ usage(const char *name, int help, int highlight, int columns) https://github.com/ruby/ruby/blob/trunk/ruby.c#L361
         M("--mjit-wait",          "", "Wait until JIT compilation finishes every time (for testing)"),
         M("--mjit-save-temps",    "", "Save JIT temporary files in $TMP or /tmp (for testing)"),
         M("--mjit-verbose=num",   "", "Print JIT logs of level num or less to stderr (default: 0)"),
-        M("--mjit-max-cache=num", "", "Max number of methods to be JIT-ed in a cache (default: 100)"),
+        M("--mjit-max-cache=num", "", "Max number of methods to be JIT-ed in a cache (default: 10000)"),
         M("--mjit-min-calls=num", "", "Number of calls to trigger JIT (for testing, default: 10000)"),
     };
     static const struct message yjit_options[] = {
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]