• mlippautz's avatar
    [heap] Add page evacuation mode for new->new · 49b23201
    mlippautz authored
    Adds an evacuation mode that allows moving pages within new space without
    copying objects.
    
    Basic idea:
    a) Move page within new space
    b) Sweep page to make iterable and process ArrayBuffers
    c) Finish sweep till next scavenge
    
    Threshold is currently 70% live bytes, i.e., the same threshold we use
    to determine fragmented pages.
    
    BUG=chromium:581412
    LOG=N
    CQ_EXTRA_TRYBOTS=tryserver.v8:v8_linux_arm64_gc_stress_dbg,v8_linux_gc_stress_dbg,v8_mac_gc_stress_dbg,v8_linux64_tsan_rel,v8_mac64_asan_rel
    
    Review-Url: https://codereview.chromium.org/1957323003
    Cr-Commit-Position: refs/heads/master@{#36990}
    49b23201
heap.cc 219 KB