• Omer Katz's avatar
    cppgc: Add marked bytes deadline · 808a775f
    Omer Katz authored
    This CL adds a bytes based deadline to draining of worklist.
    The time based deadline is also kept because:
    1) Unified heap can't transition to bytes-based deadlines yet.
    2) Unified heap with concurrent marking needs to flush v8 references
       which don't count as marked_bytes and can cause very long incremental
       pauses.
    
    Bug: chromium:1056170
    Change-Id: I5ab57754e7ff0b5821f3acb76e1e6f59fc9d68b8
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2299374Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Commit-Queue: Omer Katz <omerkatz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#69506}
    808a775f
marker-unittest.cc 13.9 KB