summaryrefslogtreecommitdiff
path: root/rjit.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-10 11:55:48 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-10 13:04:45 -0800
commitc364e0745dae0371c542bff770038b210832700e (patch)
tree26b6427f924520ba1debc8a81d53e36421582efa /rjit.h
parent9bb43978759ca86ba09d9ca6cf24506621f5bcbe (diff)
downloadruby-c364e0745dae0371c542bff770038b210832700e.tar.gz
RJIT: Introduce --rjit-exec-mem-size
Diffstat (limited to 'rjit.h')
-rw-r--r--rjit.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rjit.h b/rjit.h
index 20dc31db50..b522f5070e 100644
--- a/rjit.h
+++ b/rjit.h
@@ -54,8 +54,10 @@ struct rjit_options {
char* debug_flags;
// If true, all ISeqs are synchronously compiled. For testing.
bool wait;
- // Number of calls to trigger JIT compilation. For testing.
+ // Number of calls to trigger JIT compilation.
unsigned int call_threshold;
+ // Size of executable memory block in MiB
+ unsigned int exec_mem_size;
// Collect RJIT statistics
bool stats;
// Force printing info about RJIT work of level VERBOSE or