• Andreas Haas's avatar
    [wasm] Add flag to disable the wasm native module cache · efb80afe
    Andreas Haas authored
    The native module cache makes it difficult to test deserialization,
    because the native module just gets loaded from the cache instead of
    deserializing the serialized module. This CL adds a new flag,
    --wasm-native-module-cache-enabled, to control whether the native module
    cache is enabled or not. The cache gets disabled by handling all modules
    like asm.js modules when the cache gets disabled, as the cache is not
    used for asm.js.
    
    The name of the flag is positive (i.e.
    `enabled` instead of `disabled`) to avoid double negation. The flag is
    true by default, and set to false in tests.
    
    R=thibaudm@chromium.org
    CC=clemensb@chromium.org
    
    Bug: v8:12964
    Change-Id: If2b96a95ccf37f2eb8a868ad1661c3325c1048f6
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3703836
    Commit-Queue: Andreas Haas <ahaas@chromium.org>
    Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#81132}
    efb80afe
Name
Last commit
Last update
..
benchmarks Loading commit data...
bigint Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
debugging Loading commit data...
fuzzer Loading commit data...
fuzzilli Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...