• Andreas Haas's avatar
    [wasm] Introduce a caching threshold · af1b9a93
    Andreas Haas authored
    With dynamic tiering, typically not all functions of a WebAssembly
    module get compiled with TurboFan, and therefore the code caching would
    never get triggered. With this CL code caching is triggered whenever
    {FLAG_wasm_caching_threshold} bytes of TurboFan code are generated.
    
    This new caching event is only triggered when --wasm-dynamic-tiering is
    enabled.
    
    R=clemensb@chromium.org
    
    Bug: v8:12281
    Change-Id: I939325aea7e4310aa76c936636799661c05d4079
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3202593Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#77251}
    af1b9a93
flag-definitions.h 94.4 KB