• Peter Marshall's avatar
    reland: [heap] Concurrently free ArrayBuffer allocations. · d8981833
    Peter Marshall authored
    Free ArrayBuffer backing stores on a background thread, rather than
    blocking the main thread after processing. Could potentially cause
    contention with the array buffer allocator once JS execution resumes.
    
    The new ArrayBufferCollector class tracks these dead allocations.
    
    Later, the processing of array buffers can happen in parallel.
    
    Cq-Include-Trybots: master.tryserver.chromium.linux:linux_chromium_rel_ng;master.tryserver.v8:v8_linux64_tsan_rel;master.tryserver.v8:v8_linux64_tsan_concurrent_marking_rel_ng;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
    
    Bug: v8:6992
    Change-Id: I2b74f008f79521414374f607ed510f66508af160
    Reviewed-on: https://chromium-review.googlesource.com/779182
    Commit-Queue: Peter Marshall <petermarshall@chromium.org>
    Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49505}
    d8981833
BUILD.gn 92.9 KB