v8/test/wasm-api-tests
Michael Lippautz fe0c91cb6c heap: Rework forced GCs
Forced GCs can either be invoked internally or communicate the fact that
they are forced externally via API. Before this CL, all uses were
passing kGCCallbackFlagForced to indicate that the GC was forced.

This flag is used by embedders though to trigger followup actions. E.g.,
it can be used to trigger a follow up call to
GarbageCollectionForTesting() call which requires --expose-gc.

This patch changes the semantics as follows:
- Internal forced GCs use a Heap GC flag (kForcedGC)
- External forced GCs and GC extension use kGCCallbackFlagForced

Bug: chromium:1074061
Change-Id: Ide7ea0ccdf88b8c8cac002289aef5b7eb0f9748c
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2172747
Reviewed-by: Maya Lekova <mslekova@chromium.org>
Reviewed-by: Andreas Haas <ahaas@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#67498}
2020-04-30 11:23:15 +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 Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00