• mlippautz's avatar
    Reland "[heap] Add page evacuation mode for new->new" · 7d5969da
    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.
    
    This reverts commit 2263ee9b.
    
    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/2078863002
    Cr-Commit-Position: refs/heads/master@{#37104}
    7d5969da
mark-compact.h 27.9 KB