Skip to content
  • Koichi Sasada's avatar
    91d99025
    per-ractor object allocation · 91d99025
    Koichi Sasada authored
    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).
    91d99025
    per-ractor object allocation
    Koichi Sasada authored
    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).
Loading