• Michael Lippautz's avatar
    [heap] Scavenger: Filter pages that are scavenged from sweeper · 9317f8d2
    Michael Lippautz authored
    Avoid locking the pages for the scavenger by filtering out pages that require
    sweeping and scavenging from the sweeper. This way we preserve the assumption 
    that processing slots on a page is sequential. 
    
    Pages that have been scavenged are re-added to the sweeper to allow them to
    be reused for allocation.
    
    CQ_INCLUDE_TRYBOTS=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:6923
    Change-Id: I7d159de11792ef16a534f29e31791d06d7fb5221
    Reviewed-on: https://chromium-review.googlesource.com/730603
    Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
    Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#48859}
    9317f8d2
scavenger.h 5.13 KB