aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-12-03 15:57:39 +0900
committerKoichi Sasada <ko1@atdot.net>2020-12-07 08:28:36 +0900
commit91d99025e4776885ceea809123a129cb31cd1db6 (patch)
tree9fe8e6297666c2f48617630db378d8a4e6e3cf7c /internal
parent1d0bf3d8dd8de40d498a7c2784a84aa566d290b9 (diff)
downloadruby-91d99025e4776885ceea809123a129cb31cd1db6.tar.gz
per-ractor object allocation
Now object allocation requires VM global lock to synchronize objspace. However, of course, it introduces huge overhead. This patch caches some slots (in a page) by each ractor and use cached slots for object allocation. If there is no cached slots, acquire the global lock and get new cached slots, or start GC (marking or lazy sweeping).
Diffstat (limited to 'internal')
0 files changed, 0 insertions, 0 deletions