1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/yjit/bindgen
Alan Wu 46007b88af A64: Only clear icache when writing out new code (https://github.com/Shopify/ruby/pull/442)
Previously we cleared the cache for all the code in the system when we
flip memory protection, which was prohibitively expensive since the
operation is not constant time. Instead, only clear the cache for the
memory region of newly written code when we write out new code.

This brings the runtime for the 30k_if_else test down to about 6 seconds
from the previous 45 seconds on my laptop.
2022-08-29 09:09:41 -07:00
..
src A64: Only clear icache when writing out new code (https://github.com/Shopify/ruby/pull/442) 2022-08-29 09:09:41 -07:00
Cargo.lock Add a check-yjit-bindgen-unused target. Add to CI. (#6066) 2022-06-29 12:49:46 -04:00
Cargo.toml Add a check-yjit-bindgen-unused target. Add to CI. (#6066) 2022-06-29 12:49:46 -04:00