• Emanuel Ziegler's avatar
    [wasm] Do not log code of functions whose module is not fully loaded · 63e243a0
    Emanuel Ziegler authored
    Under some circumstances, Wasm is trying to log code for which the
    wire bytes are not fully loaded yet. This can happen during streaming
    compilation when a few functions are already fully compiled but the
    engine is still streaming the remaining functions.
    
    If the profiler now kicks in, it will attempt to log these freshly
    compiled functions. As these functions will not be executed before
    the module is fully compiled, we can simply defer the logging in this
    case.
    
    R=clemensb@chromium.org
    
    Bug: chromium:1085852
    Change-Id: Idb1061cafcba7a2a654a207402dca520f79a3bbe
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2219938Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
    Commit-Queue: Emanuel Ziegler <ecmziegler@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#68174}
    63e243a0
Name
Last commit
Last update
..
benchmarks 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...