• Michael Lippautz's avatar
    [cppgc-js] Allow overriding marking support · 2115ba50
    Michael Lippautz authored
    Adds flags to allow overriding marking support. This adds
    compatibility with EmbedderHeapTracer which allows for disabling
    incremental marking support with `--no-incremental-marking-wrappers`.
    
    The corresponding CppHeap flags are
    * `--cppheap-incremental-marking`
    * `--cppheap-concurrent-marking`
    
    This allows embedders that use types that do not support incremental
    and concurrent marking to switch from EmbedderHeapTracer to CppHeap.
    
    Bug: v8:13207
    Change-Id: I74bdf8ef4be3f6aed8d4d587ea4399546ba2fda4
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3840939Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#82652}
    2115ba50
incremental-marking.cc 32.1 KB