diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2022-11-29 15:41:25 -0500 |
---|---|---|
committer | Maxime Chevalier-Boisvert <maximechevalierb@gmail.com> | 2022-11-30 12:23:50 -0500 |
commit | b30248f74a8f6ce37a78f07597c7c5452ff50abd (patch) | |
tree | d2ec76c1d6d161156879e86726c736d9581c6dd6 /bootstraptest/test_yjit.rb | |
parent | 03f1e6a2aa8aa1d5aef79a33a243372a457f0fa2 (diff) | |
download | ruby-b30248f74a8f6ce37a78f07597c7c5452ff50abd.tar.gz |
YJIT: Deallocate when assumptions tables are empty
When we run global invalidation for TracePoints or code GC, we clear out
all blocks in our assumptions table but we don't deallocate the backing
buffers. Let's reclaim some memory during these rare events.
Diffstat (limited to 'bootstraptest/test_yjit.rb')
0 files changed, 0 insertions, 0 deletions