• mlippautz's avatar
    [heap] Fine-grained JSArrayBuffer tracking · b2d8bfc7
    mlippautz authored
    Track based on JSArrayBuffer addresses instead of the attached backing store.
    This way we can later on iterate buffers on a single page. The reland also
    switches to a page-based implementation where a page contains the set of its
    contained (live and dead) buffers.
    
    Details of tracking:
    - Scavenge: New space pages are processes in bulk on the main thread
    - MC: Unswept pages are processed in bulk in parallel. All other pages
      are processed by the sweeper concurrently.
    
    BUG=chromium:611688
    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/1964023002
    Cr-Commit-Position: refs/heads/master@{#36437}
    b2d8bfc7
array-buffer-tracker-inl.h 2.31 KB