• Omer Katz's avatar
    cppgc: Fix marking on allocation · 42ecd616
    Omer Katz authored
    Marking on allocation assumes a non-empty stack. Thus marking on
    allocation will not finalize even if it runs out of work (we prefer
    to finalize in a non-nestable task with no stack).
    Instead it will schedule another marking task and delegates
    finalization to the next marking task.
    
    Bug: chromium:1056170
    Change-Id: I457090fe0a235707bb9973e330ff24fb25ac66c0
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2366764Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Commit-Queue: Omer Katz <omerkatz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#69534}
    42ecd616
marker.cc 14.5 KB