diff options
author | Maxime Chevalier-Boisvert <[email protected]> | 2021-05-26 15:25:50 -0400 |
---|---|---|
committer | Alan Wu <[email protected]> | 2021-10-20 18:19:35 -0400 |
commit | b415ceb92e464011a9326c9cb5e15a84c39da330 (patch) | |
tree | 5b42a1b39408a81d60215929b4f6e138e3ab57b8 /yjit.h | |
parent | 764740c6615292dc994707b964c135871149fb2b (diff) |
Increase default YJIT call threshold to 10. Add exec mem size arg. (#52)
Diffstat (limited to 'yjit.h')
-rw-r--r-- | yjit.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -33,6 +33,9 @@ struct rb_yjit_options { // Enable compilation with YJIT bool yjit_enabled; + // Size of the executable memory block to allocate in MiB + unsigned exec_mem_size; + // Number of method calls after which to start generating code // Threshold==1 means compile on first execution unsigned call_threshold; |