diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2023-12-19 14:38:57 -0500 |
|---|---|---|
| committer | Aaron Patterson <aaron.patterson@gmail.com> | 2023-12-19 13:09:36 -0800 |
| commit | 28a6e4ea9d9379a654a8f7c4b37fa33aa3ccd0b7 (patch) | |
| tree | 4f8aa54b7e5166d61e917ee6e5fbfde50aaf00ca /test/ruby/test_inlinecache.rb | |
| parent | 50d39219a9b5f19a536c02ec47b54b79efa015f5 (diff) | |
Set m_tbl right after allocation
We should set the m_tbl right after allocation before anything that can
trigger GC to avoid clone_p from becoming old and needing to fire write
barriers.
Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org>
Diffstat (limited to 'test/ruby/test_inlinecache.rb')
0 files changed, 0 insertions, 0 deletions
