1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/tool/ruby_vm
Koichi Sasada f6661f5085 sync RClass::ext::iv_index_tbl
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.
2020-10-17 08:18:04 +09:00
..
controllers
helpers tool/prelude.c.tmpl: use RubyVM::CEscape 2020-08-11 16:51:07 +09:00
loaders extend rb_call_cache 2019-11-07 17:41:30 +09:00
models Use ID instead of GENTRY for gvars. (#3278) 2020-07-03 16:56:44 +09:00
scripts
tests
views sync RClass::ext::iv_index_tbl 2020-10-17 08:18:04 +09:00