YJIT: Use --yjit-exec-mem-size=128 by default (#8031)
This commit is contained in:
parent
f314656c23
commit
9c1776e6b0
Notes:
git
2023-07-05 21:21:21 +00:00
Merged-By: k0kubun <takashikkbn@gmail.com>
2
ruby.c
2
ruby.c
@ -366,7 +366,7 @@ usage(const char *name, int help, int highlight, int columns)
|
|||||||
M("--yjit-stats", "", "Enable collecting YJIT statistics"),
|
M("--yjit-stats", "", "Enable collecting YJIT statistics"),
|
||||||
M("--yjit-trace-exits", "", "Record Ruby source location when exiting from generated code"),
|
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-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-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-max-versions=num", "", "Maximum number of versions per basic block (default: 4)"),
|
||||||
M("--yjit-greedy-versioning", "", "Greedy versioning mode (default: disabled)"),
|
M("--yjit-greedy-versioning", "", "Greedy versioning mode (default: disabled)"),
|
||||||
|
@ -54,7 +54,7 @@ pub struct Options {
|
|||||||
|
|
||||||
// Initialize the options to default values
|
// Initialize the options to default values
|
||||||
pub static mut OPTIONS: Options = Options {
|
pub static mut OPTIONS: Options = Options {
|
||||||
exec_mem_size: 64 * 1024 * 1024,
|
exec_mem_size: 128 * 1024 * 1024,
|
||||||
call_threshold: 30,
|
call_threshold: 30,
|
||||||
greedy_versioning: false,
|
greedy_versioning: false,
|
||||||
no_type_prop: false,
|
no_type_prop: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user