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/views
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
..
_attributes.erb
_c_expr.erb
_comptime_insn_stack_increase.erb
_copyright.erb
_insn_entry.erb Verify builtin inline annotation with VM_CHECK_MODE (#3244) 2020-06-21 10:27:04 -07:00
_insn_len_info.erb
_insn_name_info.erb
_insn_operand_info.erb
_insn_sp_pc_dependency.erb
_insn_type_chars.erb
_leaf_helpers.erb Use ID instead of GENTRY for gvars. (#3278) 2020-07-03 16:56:44 +09:00
_mjit_compile_insn.erb Delay definition of pc_moved_p 2020-04-06 01:55:18 -07:00
_mjit_compile_insn_body.erb builtin.h: avoid copy&paste 2020-07-13 08:56:18 +09:00
_mjit_compile_invokebuiltin.erb skip inlining cexpr! that are not attr! inline 2020-07-16 11:49:09 +09:00
_mjit_compile_ivar.erb sync RClass::ext::iv_index_tbl 2020-10-17 08:18:04 +09:00
_mjit_compile_pc_and_sp.erb Delay definition of pc_moved_p 2020-04-06 01:55:18 -07:00
_mjit_compile_send.erb Make sure vm_call_cfunc uses inlined cc 2020-07-10 00:44:02 -07:00
_notice.erb
_sp_inc_helpers.erb VALUE size packed callinfo (ci). 2020-02-22 09:58:59 +09:00
_trace_instruction.erb Remove the pc argument of vm_trace() 2020-09-01 22:02:29 -04:00
insns.inc.erb
insns_info.inc.erb
mjit_compile.inc.erb builtin.h: avoid copy&paste 2020-07-13 08:56:18 +09:00
opt_sc.inc.erb
optinsn.inc.erb
optunifs.inc.erb
vm.inc.erb
vmtc.inc.erb