• Clemens Hammacher's avatar
    [wasm] Add "freeze" flag to test lazy compilation · bb64e34f
    Clemens Hammacher authored
    In order to test that we don't repeatedly go through the
    WasmCompileLazy runtime function, add a flag to the
    LazyCompilationOrchestrator to "freeze" it, i.e. disallow any further
    lazy compilation.
    In tests, use this flag to first call a method, then freeze lazy
    compilation, then call the method again to assert that no further lazy
    compilation is triggered.
    
    This test currently fails with --wasm-jit-to-native, so disable it for
    that variant.
    
    R=titzer@chromium.org
    CC=mtrofin@chromium.org
    
    Bug: v8:7140, chromium:788441, v8:5991
    Change-Id: I18a40d302c24041740d8a54351d06ed968f4beec
    Reviewed-on: https://chromium-review.googlesource.com/796430Reviewed-by: 's avatarMircea Trofin <mtrofin@chromium.org>
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#49734}
    bb64e34f
Name
Last commit
Last update
benchmarks Loading commit data...
build_overrides Loading commit data...
docs Loading commit data...
gni Loading commit data...
gypfiles Loading commit data...
include Loading commit data...
infra Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
testing Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.clang-format Loading commit data...
.editorconfig Loading commit data...
.git-blame-ignore-revs Loading commit data...
.gitignore Loading commit data...
.gn Loading commit data...
.vpython Loading commit data...
.ycm_extra_conf.py Loading commit data...
AUTHORS Loading commit data...
BUILD.gn Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
ChangeLog Loading commit data...
DEPS Loading commit data...
LICENSE Loading commit data...
LICENSE.fdlibm Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
Makefile Loading commit data...
Makefile.android Loading commit data...
OWNERS Loading commit data...
PRESUBMIT.py Loading commit data...
README.md Loading commit data...
WATCHLISTS Loading commit data...
codereview.settings Loading commit data...
snapshot_toolchain.gni Loading commit data...