v8/test/cctest/wasm
Deepti Gandluri dfdc0e6de0 [wasm] Reserve upto maximum for a shared WebAssembly.Memory
When using a shared WebAssembly.Memory, always try to reserve up to the
maximum to avoid having to move the buffer. If after multiple retries
it is not possible to reserve the maximum, fall back to initial size
reservation.

 - Add new methods to allocate a Shared WebAssemblyMemory.buffer
 - Use these to reserve upto the mazimum for a Shared WebAssembly.Memory
 - Cleanup js-api so actual allocation is done inside the constructor

BUG: v8:8564
Change-Id: I97815c7c94a2b84416cd867fb23b3c815d7f0f12
Reviewed-on: https://chromium-review.googlesource.com/c/1480910
Reviewed-by: Ben Smith <binji@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Commit-Queue: Deepti Gandluri <gdeepti@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59805}
2019-02-23 01:59:12 +00:00
..
OWNERS Reduce wasm OWNERS to current team members 2018-10-15 14:47:49 +00:00
test-c-wasm-entry.cc [test] Modernize value helpers 2019-02-01 12:56:59 +00:00
test-jump-table-assembler.cc [wasm][test] Extend jump-table stress test to all archs. 2019-02-20 14:54:52 +00:00
test-run-wasm-64.cc [test] Modernize value helpers 2019-02-01 12:56:59 +00:00
test-run-wasm-asmjs.cc [test] Modernize value helpers 2019-02-01 12:56:59 +00:00
test-run-wasm-atomics64.cc [test] Modernize value helpers 2019-02-01 12:56:59 +00:00
test-run-wasm-atomics.cc [test] Modernize value helpers 2019-02-01 12:56:59 +00:00
test-run-wasm-exceptions.cc [wasm] Cover some more traps in test-run-wasm-exceptions. 2019-02-19 15:08:32 +00:00
test-run-wasm-interpreter.cc Revert "[wasm] ReturnCall Implementation (interpreter)" 2019-02-22 23:31:54 +00:00
test-run-wasm-js.cc [wasm][test] Simplify EXPECT_CALL function invocations. 2019-01-28 17:22:36 +00:00
test-run-wasm-module.cc [wasm] Reserve upto maximum for a shared WebAssembly.Memory 2019-02-23 01:59:12 +00:00
test-run-wasm-sign-extension.cc [wasm] Unify all enums representing execution tiers 2018-08-21 15:45:18 +00:00
test-run-wasm-simd.cc v8: Fix -Wextra-semi warnings, enable warning. 2019-02-13 14:11:28 +00:00
test-run-wasm.cc Remove unneeded safepoint and handler table offset arguments 2019-02-04 08:44:08 +00:00
test-streaming-compilation.cc v8: Fix -Wextra-semi warnings, enable warning. 2019-02-13 14:11:28 +00:00
test-wasm-breakpoints.cc [ubsan] Port JSReceiver and subclasses to the new design 2018-12-08 04:05:50 +00:00
test-wasm-codegen.cc [api][wasm] Change ModuleCompiledCallback definition 2018-12-11 07:38:30 +00:00
test-wasm-import-wrapper-cache.cc [wasm] Move Isolate management to WasmEngine 2019-01-25 11:19:54 +00:00
test-wasm-interpreter-entry.cc [test] Modernize value helpers 2019-02-01 12:56:59 +00:00
test-wasm-serialization.cc [wasm] Add getter for shared_ptr to NativeModule 2018-12-11 14:29:36 +00:00
test-wasm-shared-engine.cc Merge MicrotaskQueue::RunMicrotasks and Isolate::RunMicrotasks 2019-01-16 23:35:24 +00:00
test-wasm-stack.cc [cleanup] Refactor base, compiler, and wasm classes to use bools instead of converting ints. 2018-09-20 09:14:25 +00:00
test-wasm-trap-position.cc [cleanup] Refactor base, compiler, and wasm classes to use bools instead of converting ints. 2018-09-20 09:14:25 +00:00
wasm-atomics-utils.h [compiler] Remove AtomicNarrow machine operators, macroize tests 2018-08-29 16:11:48 +00:00
wasm-run-utils.cc [wasm] Reserve upto maximum for a shared WebAssembly.Memory 2019-02-23 01:59:12 +00:00
wasm-run-utils.h Reland "[wasm] add wasm atomic wait callback test" 2019-02-20 05:17:07 +00:00