• Ross McIlroy's avatar
    [Compile] Refactor CompilerDispatcher for inner function compilation jobs · 80195fc5
    Ross McIlroy authored
    Refactors the CompilerDispatcher to be able to enqueue eager inner functions
    for off-thread compilation during top-level compilation of a script.
    
    Unoptimized compile jobs are simplified to only have two phases - compile
    and finalization. Only finalization requires heap access (and therefore
    needs to be run on the main thread). The change also introduces a requirement
    to register a SFI with a given compile job after that job is posted, this
    is due to the fact that an SFI won't necessarily exist at the point the job
    is posted, but is created later when top-level compile is being finalized.
    Logic in the compile dispatcher is update to deal with the fact that a job
    may not be able to progress if it doesn't yet have an associated SFI
    registered with it.
    
    BUG=v8:8041
    
    Change-Id: I66cccd626136738304a7cab0e501fc65cf342514
    Reviewed-on: https://chromium-review.googlesource.com/1215782
    Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
    Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
    Reviewed-by: 's avatarLeszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#56088}
    80195fc5
Name
Last commit
Last update
..
api Loading commit data...
asmjs Loading commit data...
assembler Loading commit data...
base Loading commit data...
compiler Loading commit data...
compiler-dispatcher Loading commit data...
heap Loading commit data...
interpreter Loading commit data...
libplatform Loading commit data...
objects Loading commit data...
parser Loading commit data...
torque Loading commit data...
utils Loading commit data...
wasm Loading commit data...
zone Loading commit data...
BUILD.gn Loading commit data...
DEPS Loading commit data...
allocation-unittest.cc Loading commit data...
bigint-unittest.cc Loading commit data...
cancelable-tasks-unittest.cc Loading commit data...
char-predicates-unittest.cc Loading commit data...
code-stub-assembler-unittest.cc Loading commit data...
code-stub-assembler-unittest.h Loading commit data...
counters-unittest.cc Loading commit data...
detachable-vector-unittest.cc Loading commit data...
eh-frame-iterator-unittest.cc Loading commit data...
eh-frame-writer-unittest.cc Loading commit data...
locked-queue-unittest.cc Loading commit data...
object-unittest.cc Loading commit data...
register-configuration-unittest.cc Loading commit data...
run-all-unittests.cc Loading commit data...
source-position-table-unittest.cc Loading commit data...
strings-storage-unittest.cc Loading commit data...
test-helpers.cc Loading commit data...
test-helpers.h Loading commit data...
test-utils.cc Loading commit data...
test-utils.h Loading commit data...
testcfg.py Loading commit data...
unicode-unittest.cc Loading commit data...
unittests.status Loading commit data...
utils-unittest.cc Loading commit data...
value-serializer-unittest.cc Loading commit data...