314 Commits (9dbb8c25c5894cf569163263c35b479db684ed03)

Author SHA1 Message Date
Alex Crichton 434e35c490
Panic on resetting image slots back to anonymous memory (#3841) 3 years ago
Alex Crichton bbd4a4a500
Enable copy-on-write heap initialization by default (#3825) 3 years ago
bjorn3 4ed353a7e1
Extract jit_int.rs and most of jitdump_linux.rs for use outside of wasmtime (#2744) 3 years ago
Peter Huene ef17a36852
Port fix for `CVE-2022-23636` to `main`. (#3818) 3 years ago
Alex Crichton b438617e12
Further minor optimizations to instantiation (#3791) 3 years ago
Alex Crichton c0c368d151
Use mmap'd `*.cwasm` as a source for memory initialization images (#3787) 3 years ago
Chris Fallin 39a52ceb4f
Implement lazy funcref table and anyfunc initialization. (#3733) 3 years ago
Peter Huene 1b27508a42
Fix incorrect use of `MemoryIndex` in the pooling allocator. (#3782) 3 years ago
Chris Fallin 4f01711d42
Pooling allocator: Default for allocation policy should use memfd feature, not memfd-allocator. (#3777) 3 years ago
wasmtime-publish 39b88e4e9e
Release Wasmtime 0.34.0 (#3768) 3 years ago
Chris Fallin ddd39cdb84
Patch qemu in CI to fix madvise semantics. (#3770) 3 years ago
Alex Crichton 04d2caea7b
Consolidate methods of memory initialization (#3766) 3 years ago
Alex Crichton 4ba3404ca3
Fix MemFd's allocated memory for dynamic memories (#3763) 3 years ago
Alex Crichton b647561c44
memfd: Some minor follow-ups (#3759) 3 years ago
Alex Crichton 8ed79c8f57
memfd: Reduce some syscalls in the on-demand case (#3757) 3 years ago
Chris Fallin 1cbd393930
Review comments. 3 years ago
Chris Fallin 6011420557
Pooling allocator: add a reuse-affinity policy. 3 years ago
Chris Fallin 9880eba2a8
Skip memfd tests when on qemu, due to differing madvise semantics. 3 years ago
Chris Fallin d7b04f5ced
Review comments. 3 years ago
Chris Fallin 0ec45d3ae4
Add additional tests for MemFdSlot. 3 years ago
Chris Fallin 94410a8d4b
Review comments. 3 years ago
Dan Gohman ffa9fe32aa Use is-terminal instead of atty. 3 years ago
Chris Fallin 84a8368e88
Fix to the optimization: mprotect(NONE) sometimes needed after skipping the initial mmap. 3 years ago
Chris Fallin 01e6bb81fb
Review feedback. 3 years ago
Chris Fallin 0ff8f6ab20
Make build-config magic use memfd by default. 3 years ago
Chris Fallin ccfa245261
Optimization: only mprotect the *new* bit of heap, not all of it. 3 years ago
Chris Fallin 982df2f2e5
Review feedback. 3 years ago
Chris Fallin 570dee63f3
Use MemFdSlot in the on-demand allocator as well. 3 years ago
Chris Fallin 3702e81d30
Remove ftruncate-trick for heap growth with memfd backend. 3 years ago
Chris Fallin b73ac83c37
Add a pooling allocator mode based on copy-on-write mappings of memfds. 3 years ago
Alex Crichton a25f7bdba5
Don't copy `VMBuiltinFunctionsArray` into each `VMContext` (#3741) 3 years ago
Alex Crichton 2f494240f8
Lazily allocate the bump-alloc chunk in the externref table (#3739) 3 years ago
Nick Fitzgerald 19f8d94959 Expand on activations table invariants comment in `libcalls.rs` 3 years ago
Nick Fitzgerald cbc6f6071f Fix a debug assertion in `externref` garbage collections 3 years ago
Dan Gohman 881c19473d
Use `ptr::cast` instead of `as` casts in several places. (#3507) 3 years ago
Chris Fallin 8a55b5c563 Add epoch-based interruption for cooperative async timeslicing. 3 years ago
Mrmaxmeier 2afd6900f4
runtime: expose DefaultMemoryCreator (#3670) 3 years ago
Piotr Sikora 642102e699
Fix build with clang on s390x. (#3673) 3 years ago
wasmtime-publish 8043c1f919
Release Wasmtime 0.33.0 (#3648) 3 years ago
Dan Gohman 7b346b1f12
Update to cap-std 0.22.0. (#3611) 3 years ago
wasmtime-publish c1c4c59670
Release Wasmtime 0.32.0 (#3589) 3 years ago
Dan Gohman ea0cb971fb
Update to rustix 0.26.2. (#3521) 3 years ago
Peter Huene 58aab85680
Add the `pooling-allocator` feature. 3 years ago
Alex Crichton 6bcee7f5f7
Add a configuration option to force "static" memories (#3503) 3 years ago
wasmtime-publish c1a6a0523d
Release Wasmtime 0.31.0 (#3489) 3 years ago
Alex Crichton 490d49a768
Adjust dependency directives between crates (#3420) 3 years ago
Alex Crichton 2f2c5231b4 Add Alex's solution for null handling in TlsRestore 3 years ago
Pat Hickey b00d811e83 code review 3 years ago
Pat Hickey 52542b6c01 mock enough of the store to pass the uffd test 3 years ago
Pat Hickey efef0769fe make uffd test compile, but not pass 3 years ago