v8/test/wasm-api-tests
Jakob Gruber 3c422d1c5e [snapshot] Clear reconstructable data prior to d8 stress_snapshot run
The serializer currently cannot handle a heap state containing
arbitrary compiled Code objects. As a quick fix for the
--stress-snapshot d8 flag, we clear compiled data from the isolate
prior to the serialize-deserialize-verify pass.

With this change, mjsunit tests pass on x64.

The %SerializeDeserializeNow() runtime function would require more
work, since it is not possible to mutate the heap to this extent while
still preserving a runnable host context and isolate. We will need
another solution there.

Drive-by: Skip the stress_snapshot variant except for the mjsunit
suite.

Tbr: machenbach@chromium.org
Bug: v8:10493,v8:10416
Change-Id: Ie110da8b51613fcd69c7f391d3cf8589d6b04dd8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2182429
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67585}
2020-05-06 07:11:22 +00:00
..
BUILD.gn [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
callbacks.cc heap: Rework forced GCs 2020-04-30 11:23:15 +00:00
DEPS [wasm-c-api] Add tests and fixes 2019-05-28 09:57:04 +00:00
finalize.cc [wasm-c-api] Roll bf31edf: Fix life times of host info 2019-08-26 14:28:51 +00:00
globals.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
hostref.cc [wasm-c-api] Roll 3094fe2: Implement Global::get/set for refs 2019-08-21 15:54:59 +00:00
memory.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
multi-return.cc [wasm-c-api] Roll 351b9b7: Support multiple return values 2019-08-20 14:48:14 +00:00
reflect.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
run-all-wasm-api-tests.cc [wasm-c-api] Add tests and fixes 2019-05-28 09:57:04 +00:00
serialize.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
startup-errors.cc [wasm-c-api] Roll 7865f7d: Expose possible traps during Instance::make 2019-08-23 09:46:29 +00:00
table.cc [wasm] Clean up WASM_CALL_INDIRECT macros 2019-11-28 14:44:06 +00:00
testcfg.py [wasm-c-api] Add tests and fixes 2019-05-28 09:57:04 +00:00
threads.cc [wasm-c-api] Roll 70a2889: Remove template meta-programming 2019-08-20 09:35:35 +00:00
traps.cc [wasm] Refactor WasmFeatures 2019-11-26 17:36:11 +00:00
wasm-api-test.h [wasm-c-api] Roll bf31edf: Fix life times of host info 2019-08-26 14:28:51 +00:00
wasm-api-tests.status [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00