Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Fair reusing of wasm runtime instances #3011

Merged
merged 72 commits into from
Jul 25, 2019
Merged

Fair reusing of wasm runtime instances #3011

merged 72 commits into from
Jul 25, 2019

Commits on Jun 24, 2019

  1. Add test from original bug report

    Original is from @pepyakin in 3d7b27f.
    I adapted it to work with the latest master.
    cmichi committed Jun 24, 2019
    Configuration menu
    Copy the full SHA
    a1820f4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    adaa8dc View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2019

  1. Configuration menu
    Copy the full SHA
    ccba1ef View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2019

  1. Fix test

    cmichi committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    e3dba7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0feabfc View commit details
    Browse the repository at this point in the history
  3. Remove leftover comment

    cmichi committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    f69f0ef View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2019

  1. Fix style

    cmichi committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    65f4616 View commit details
    Browse the repository at this point in the history
  2. Improve variable naming

    cmichi committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    a9a9014 View commit details
    Browse the repository at this point in the history
  3. Replace get_into() with get()

    cmichi committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    1abeb70 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    91a8f82 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1b76de2 View commit details
    Browse the repository at this point in the history
  6. Improve comments

    cmichi committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    1a34c15 View commit details
    Browse the repository at this point in the history
  7. fmt

    pepyakin committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    8d926b1 View commit details
    Browse the repository at this point in the history
  8. Fix #2967.

    pepyakin committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    2802866 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6f16b45 View commit details
    Browse the repository at this point in the history
  10. tidy

    pepyakin committed Jun 28, 2019
    Configuration menu
    Copy the full SHA
    457d6c6 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2019

  1. A state snapshot doc.

    pepyakin committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    35b2deb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60fdbf5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6d34c0a View commit details
    Browse the repository at this point in the history
  4. Get rid of deref.

    pepyakin committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    cc1917c View commit details
    Browse the repository at this point in the history
  5. Docs

    pepyakin committed Jul 1, 2019
    Configuration menu
    Copy the full SHA
    537ad5f View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2019

  1. Configuration menu
    Copy the full SHA
    a47adda View commit details
    Browse the repository at this point in the history
  2. REVERT ME

    pepyakin committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    e927acb View commit details
    Browse the repository at this point in the history
  3. Should be ok

    pepyakin committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    f94e07c View commit details
    Browse the repository at this point in the history
  4. Commit

    pepyakin committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    20933ee View commit details
    Browse the repository at this point in the history
  5. Remove dbg

    pepyakin committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    1def782 View commit details
    Browse the repository at this point in the history
  6. Use fast-memory's erase

    pepyakin committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    48cab4c View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2019

  1. Clean and undo hacks.

    pepyakin committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    92b6e27 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64d9dab View commit details
    Browse the repository at this point in the history
  3. Ban the start function.

    pepyakin committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    a7ee559 View commit details
    Browse the repository at this point in the history
  4. Clean, docs and refactor

    pepyakin committed Jul 3, 2019
    Configuration menu
    Copy the full SHA
    565be74 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2019

  1. Merge master into ser-reuse-wasm

    # Conflicts:
    #	Cargo.lock
    #	core/executor/Cargo.toml
    #	core/test-runtime/wasm/build.sh
    pepyakin committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    caf5a00 View commit details
    Browse the repository at this point in the history
  2. Add rustflags.

    pepyakin committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    ca1796b View commit details
    Browse the repository at this point in the history
  3. Update Cargo.lock

    pepyakin committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    9a07c17 View commit details
    Browse the repository at this point in the history
  4. Apply Basti's suggestions

    Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
    pepyakin and bkchr authored Jul 4, 2019
    Configuration menu
    Copy the full SHA
    ee06caf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1ffa62e View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'origin/master' into ser-reuse-wasm

    # Conflicts:
    #	core/primitives/Cargo.toml
    pepyakin committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    4becdd8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3d02c90 View commit details
    Browse the repository at this point in the history
  8. Update the test.

    pepyakin committed Jul 4, 2019
    Configuration menu
    Copy the full SHA
    49d2117 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2019

  1. Update core/executor/src/wasm_executor.rs

    Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
    pepyakin and bkchr authored Jul 5, 2019
    Configuration menu
    Copy the full SHA
    b79b6c5 View commit details
    Browse the repository at this point in the history
  2. Update core/executor/src/wasm_runtimes_cache.rs

    Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
    pepyakin and bkchr authored Jul 5, 2019
    Configuration menu
    Copy the full SHA
    5b91eaf View commit details
    Browse the repository at this point in the history
  3. Update core/executor/src/error.rs

    Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
    pepyakin and bkchr authored Jul 5, 2019
    Configuration menu
    Copy the full SHA
    7c06950 View commit details
    Browse the repository at this point in the history
  4. Update core/executor/src/error.rs

    Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
    pepyakin and bkchr authored Jul 5, 2019
    Configuration menu
    Copy the full SHA
    6077aba View commit details
    Browse the repository at this point in the history
  5. Fix tests.

    pepyakin committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    4ce3684 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2019

  1. Update cargo-lock

    pepyakin committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    42c5950 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4355dfc View commit details
    Browse the repository at this point in the history
  3. Use wasmi master

    pepyakin committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    d053556 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2019

  1. Use master wasmi

    pepyakin committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    a98352f View commit details
    Browse the repository at this point in the history
  2. Move tests.

    pepyakin committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    bd92e71 View commit details
    Browse the repository at this point in the history
  3. Use wasmi crates.io

    pepyakin committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    c7fcc4d View commit details
    Browse the repository at this point in the history
  4. Merge master into ser-reuse-wasm

    # Conflicts:
    #	Cargo.lock
    #	core/utils/wasm-builder/src/wasm_project.rs
    pepyakin committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    455a3a0 View commit details
    Browse the repository at this point in the history
  5. Update Cargo.lock

    pepyakin committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    b67e52e View commit details
    Browse the repository at this point in the history
  6. Fix build.rs

    pepyakin committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    569a78b View commit details
    Browse the repository at this point in the history
  7. Bump runtime version

    pepyakin committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    8519501 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    751ef3e View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2019

  1. Bump wasmi up to 0.5.0

    pepyakin committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    c3cc2cb View commit details
    Browse the repository at this point in the history
  2. Merge 'origin/master' into ser-reuse-wasm

    # Conflicts:
    #	Cargo.lock
    pepyakin committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    8b243ad View commit details
    Browse the repository at this point in the history
  3. Bump runtime version

    pepyakin committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    2da6066 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2019

  1. Configuration menu
    Copy the full SHA
    66c7427 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2019

  1. Merge remote-tracking branch 'origin/master' into ser-reuse-wasm

    # Conflicts:
    #	node/runtime/src/lib.rs
    pepyakin committed Jul 12, 2019
    Configuration menu
    Copy the full SHA
    5845385 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1162e4e View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2019

  1. Configuration menu
    Copy the full SHA
    fac2162 View commit details
    Browse the repository at this point in the history
  2. Update core/executor/src/wasm_runtimes_cache.rs

    Co-Authored-By: DemiMarie-parity <48690212+DemiMarie-parity@users.noreply.github.com>
    pepyakin and Demi-Marie authored Jul 13, 2019
    Configuration menu
    Copy the full SHA
    6d2d17b View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2019

  1. Configuration menu
    Copy the full SHA
    e5ca259 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15dc874 View commit details
    Browse the repository at this point in the history
  3. Supply --export=__heap_base

    See https://reviews.llvm.org/D62744
    
    Co-authored-by: Jim Posen <jim.posen@gmail.com>
    pepyakin and jimpo committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    27a4602 View commit details
    Browse the repository at this point in the history
  4. Bump version.

    pepyakin committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    fbbc10f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cda8690 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f04de66 View commit details
    Browse the repository at this point in the history
  7. Fix build.rs

    pepyakin committed Jul 24, 2019
    Configuration menu
    Copy the full SHA
    8f1d73a View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2019

  1. Configuration menu
    Copy the full SHA
    4bb7bcf View commit details
    Browse the repository at this point in the history
  2. Merge 'origin/master' into ser-reuse-wasm

    # Conflicts:
    #	core/executor/src/allocator.rs
    #	core/test-runtime/client/src/lib.rs
    #	node/runtime/src/lib.rs
    pepyakin committed Jul 25, 2019
    Configuration menu
    Copy the full SHA
    78046ec View commit details
    Browse the repository at this point in the history