YJIT: Add --yjit-mem-size option by k0kubun · Pull Request #11810 · ruby/ruby

This PR adds --yjit-mem-size option that tries to limit code_region_size + yjit_alloc_size. This is a soft limit, but it should make YJIT's memory usage more predictable than --yjit-exec-mem-si...