mirror of
https://github.com/ruby/ruby.git
synced 2025-09-20 19:14:00 +02:00
![]() iv_index_tbl manages instance variable indexes (ID -> index). This data structure should be synchronized with other ractors so introduce some VM locks. This patch also introduced atomic ivar cache used by set/getinlinecache instructions. To make updating ivar cache (IVC), we changed iv_index_tbl data structure to manage (ID -> entry) and an entry points serial and index. IVC points to this entry so that cache update becomes atomically. |
||
---|---|---|
.. | ||
controllers | ||
helpers | ||
loaders | ||
models | ||
scripts | ||
tests | ||
views |