• Thibaud Michaud's avatar
    [wasm] Deserialization: copy and relocate in the background · ec314199
    Thibaud Michaud authored
    Deserialization is currently split into three main steps:
    1) Read code and allocate code buffer
    2) Copy and relocate code
    3) Publish
    
    This moves step 2) to a background task so that it can concurrently
    process work units added to the work queue by step 1).
    
    Next, step 3) will also be moved to a background task to create a full
    pipeline, such that we can start publishing the first units almost
    immediately.
    
    R=ahaas@chromium.org
    CC=​​clemensb@chromium.org
    
    Bug: v8:11164
    Change-Id: I99919765400e03737a46bacf0dcd82cb7fe2aefc
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2543932
    Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71290}
    ec314199
wasm-serialization.cc 29.2 KB