summaryrefslogtreecommitdiff
path: root/dmyenc.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2021-12-23 15:51:13 +0900
committerKoichi Sasada <ko1@atdot.net>2021-12-23 16:49:49 +0900
commitca032d5eeaf81692f89f35c55450dcb97df59e16 (patch)
treef3c1e534a718b9459afb08e1f82ea7d54618e0f0 /dmyenc.c
parent25e417b773b6f4b78c27a79e06c1277e7a5cf342 (diff)
downloadruby-ca032d5eeaf81692f89f35c55450dcb97df59e16.tar.gz
undef `rb_vm_lookup_overloaded_cme()`
Some callable method entries (cme) can be a key of `overloaded_cme_table` and the keys should be pinned because the table is numtable (VALUE is a key). Before the patch GC checks the cme is in `overloaded_cme_table` by looking up the table, but it needs VM locking. It works well in normal GC marking because it is protected by the VM lock, but it doesn't work on `rb_objspace_reachable_objects_from` because it doesn't use VM lock. Now, the number of target cmes are small enough, I decide to pin down all possible cmes instead of using looking up the table.
Diffstat (limited to 'dmyenc.c')
0 files changed, 0 insertions, 0 deletions