• Leszek Swirski's avatar
    [compiler] Drive optimizations with feedback vector · e39c9e02
    Leszek Swirski authored
    For interpreted functions, use the optimized code slot in the feedback vector
    to store an optimization marker (optimize/in optimization queue) rather than
    changing the JSFunction's code object. Then, adapt the self-healing mechanism
    to also dispatch based on this optimization marker. Similarly, replace SFI
    marking with optimization marker checks in CompileLazy.
    
    This allows JSFunctions to share optimization information (replacing shared
    function marking) without leaking this information across native contexts. Non
    I+TF functions (asm.js or --no-turbo) use a CheckOptimizationMarker shim which
    generalises the old CompileOptimized/InOptimizationQueue builtins and also
    checks the same optimization marker as CompileLazy and
    InterpreterEntryTrampoline.
    
    Change-Id: I6826bdde7ab9a919cdb6b69bc0ebc6174bcb91ae
    Reviewed-on: https://chromium-review.googlesource.com/509716
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#45901}
    e39c9e02
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer 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...
preparser Loading commit data...
promises-aplus Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...
perf.gyp Loading commit data...
perf.isolate Loading commit data...