This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Fair reusing of wasm runtime instances #3011
Merged
Merged
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
a1820f4
Add test from original bug report
cmichi adaa8dc
No longer cleanup module instance
cmichi ccba1ef
Replace runtime cache with synchronous clone
cmichi e3dba7f
Fix test
cmichi 0feabfc
Preserve initial runtime memory and restore it on fetch
cmichi f69f0ef
Remove leftover comment
cmichi 65f4616
Fix style
cmichi a9a9014
Improve variable naming
cmichi 1abeb70
Replace get_into() with get()
cmichi 91a8f82
Handle missing memory export better
cmichi 1b76de2
Return earlier when creating runtime first time
cmichi 1a34c15
Improve comments
cmichi 8d926b1
fmt
pepyakin 2802866
Fix #2967.
pepyakin 6f16b45
Eradicate `code` from `Error::InvalidCode`
pepyakin 457d6c6
tidy
pepyakin 35b2deb
A state snapshot doc.
pepyakin 60fdbf5
Store multiple runtimes by hash.
pepyakin 6d34c0a
Merge remote-tracking branch 'origin/master' into cmichi-ensure-clean…
pepyakin cc1917c
Get rid of deref.
pepyakin 537ad5f
Docs
pepyakin a47adda
Use Self for instantiate_module
pepyakin e927acb
REVERT ME
pepyakin f94e07c
Should be ok
pepyakin 20933ee
Commit
pepyakin 1def782
Remove dbg
pepyakin 48cab4c
Use fast-memory's erase
pepyakin 92b6e27
Clean and undo hacks.
pepyakin 64d9dab
Introduce a dedicated error for heap_base
pepyakin a7ee559
Ban the start function.
pepyakin 565be74
Clean, docs and refactor
pepyakin caf5a00
Merge master into ser-reuse-wasm
pepyakin ca1796b
Add rustflags.
pepyakin 9a07c17
Update Cargo.lock
pepyakin ee06caf
Apply Basti's suggestions
pepyakin 1ffa62e
Rename allocates_huge_stack_array
pepyakin 4becdd8
Merge remote-tracking branch 'origin/master' into ser-reuse-wasm
pepyakin 3d02c90
Extend TestClientBuilder with set_heap_pages
pepyakin 49d2117
Update the test.
pepyakin b79b6c5
Update core/executor/src/wasm_executor.rs
pepyakin 5b91eaf
Update core/executor/src/wasm_runtimes_cache.rs
pepyakin 7c06950
Update core/executor/src/error.rs
pepyakin 6077aba
Update core/executor/src/error.rs
pepyakin 4ce3684
Fix tests.
pepyakin 42c5950
Update cargo-lock
pepyakin 4355dfc
Merge remote-tracking branch 'origin/master' into ser-reuse-wasm
pepyakin d053556
Use wasmi master
pepyakin a98352f
Use master wasmi
pepyakin bd92e71
Move tests.
pepyakin c7fcc4d
Use wasmi crates.io
pepyakin 455a3a0
Merge master into ser-reuse-wasm
pepyakin b67e52e
Update Cargo.lock
pepyakin 569a78b
Fix build.rs
pepyakin 8519501
Bump runtime version
pepyakin 751ef3e
Revert initial_heap_pages renaming
pepyakin c3cc2cb
Bump wasmi up to 0.5.0
pepyakin 8b243ad
Merge 'origin/master' into ser-reuse-wasm
pepyakin 2da6066
Bump runtime version
pepyakin 66c7427
Merge branch 'master' into ser-reuse-wasm
pepyakin 5845385
Merge remote-tracking branch 'origin/master' into ser-reuse-wasm
pepyakin 1162e4e
Don't restore an instance every now and then
pepyakin fac2162
Merge branch 'master' into ser-reuse-wasm
Demi-Marie 6d2d17b
Update core/executor/src/wasm_runtimes_cache.rs
pepyakin e5ca259
Propagate error in CacheError
pepyakin 15dc874
Clarify the get_heap_base call in instantiation
pepyakin 27a4602
Supply --export=__heap_base
pepyakin fbbc10f
Bump version.
pepyakin cda8690
Use combinators for segments.
pepyakin f04de66
Merge branch 'master' into ser-reuse-wasm
pepyakin 8f1d73a
Fix build.rs
pepyakin 4bb7bcf
Fix build.rs for runtime-test
pepyakin 78046ec
Merge 'origin/master' into ser-reuse-wasm
pepyakin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert initial_heap_pages renaming
- Loading branch information
commit 751ef3ee799f680df7914e9981eef2ce836a170d
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.