Skip to content
  • Ben Gamari's avatar
    2bf7b5b5
    nonmoving: Don't traverse filled segment list in pause · 2bf7b5b5
    Ben Gamari authored
    The non-moving collector would previously walk the entire filled segment
    list during the preparatory pause. However, this is far more work than
    is strictly necessary. We can rather get away with merely collecting the
    allocators' filled segment list heads and process the lists themselves
    during the concurrent phase. This can significantly reduce the maximum
    gen1 GC pause time in programs with high rates of long-lived allocations.
    
    (cherry picked from commit 927b7a3d)
    2bf7b5b5
    nonmoving: Don't traverse filled segment list in pause
    Ben Gamari authored
    The non-moving collector would previously walk the entire filled segment
    list during the preparatory pause. However, this is far more work than
    is strictly necessary. We can rather get away with merely collecting the
    allocators' filled segment list heads and process the lists themselves
    during the concurrent phase. This can significantly reduce the maximum
    gen1 GC pause time in programs with high rates of long-lived allocations.
    
    (cherry picked from commit 927b7a3d)
Loading