v8/test/unittests
Andreas Haas 258371bd44 [wasm][anyref] Support anyref stack parameters
Anyref parameters can exist across GC runs. Therefore the GC has to
know where anyref parameters are on the stack so that it can mark them
in its marking phase, and update them in the compaction phase.

Already in a previous CL we grouped all anyref parameters so that they
can be found more easily in a stack frame, see
https://crrev.com/c/1371827. In this CL we implement the stack scanning
itself.

Note that anyref parameters are not scanned while iterating over the
caller's frame (to which they actually belong), but while iterating
over the callee's frame. The reason is that with tail-calls, only the
callee knows how many tagged stack parameters (aka anyref parameters)
there are.

R=mstarzinger@chromium.org
also-by=mstarzinger@chromium.org

Bug: v8:7581
Change-Id: I7a41ce11d06c0d420146fdb0bb8d5606f28824d7
Reviewed-on: https://chromium-review.googlesource.com/c/1424955
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59099}
2019-01-25 18:00:46 +00:00
..
api Make Isolate::GetIncumbentContext() work fine with ASAN 2018-11-21 05:40:08 +00:00
asmjs [ubsan] Fix errors related to AsmType 2019-01-07 13:07:26 +00:00
assembler PPC/s390: [test] Refactor AllocateAssemblerBuffer 2019-01-17 17:37:32 +00:00
base [ubsan] Fix various cases of undefined behavior 2019-01-10 13:52:04 +00:00
compiler owners file cleanup and adding myself to the list 2019-01-14 17:53:55 +00:00
compiler-dispatcher Reland "[Compiler] Introduce IsCompiledScope which prevents flushing of compiled code" 2018-11-30 22:13:14 +00:00
heap [logger] Untangle log.h includes 2019-01-22 10:56:52 +00:00
interpreter [ubsan] Port Object to the new design 2018-12-26 20:54:07 +00:00
libplatform [cleanup] Mark libplatform methods in subclasses with override. 2018-09-14 16:43:37 +00:00
parser [cleanup] Refactor general tests to use default members. 2018-09-14 14:40:47 +00:00
torque [torque] fix bug in Stack::DeleteRange 2018-10-16 09:24:45 +00:00
wasm [wasm][anyref] Support anyref stack parameters 2019-01-25 18:00:46 +00:00
zone [zone] Revert to previous zone allocation strategies due to severe memory regressions. 2018-11-27 12:55:45 +00:00
allocation-unittest.cc [cleanup] Mark test/ methods in subclasses with override. 2018-09-17 07:40:00 +00:00
background-compile-task-unittest.cc [parser] Rename PreParsedScopeData to PreparseData 2019-01-07 14:49:21 +00:00
bigint-unittest.cc Reland: [cleanup] Refactor the Factory 2018-04-09 19:52:22 +00:00
BUILD.gn [conversions] Speed up double to CString conversion 2018-12-19 12:10:50 +00:00
cancelable-tasks-unittest.cc [wasm] Reschedule compilation tasks 2019-01-17 18:27:08 +00:00
char-predicates-unittest.cc [cleanup] Make unicode predicate cache tables static 2018-11-14 15:33:45 +00:00
code-stub-assembler-unittest.cc [csa] re-schedule CSA graph 2018-11-13 17:12:01 +00:00
code-stub-assembler-unittest.h [cleanup] Refactor general tests to use default members. 2018-09-14 14:40:47 +00:00
conversions-unittest.cc [conversions] Speed up double to CString conversion 2018-12-19 12:10:50 +00:00
counters-unittest.cc [cleanup] Mark test/ methods in subclasses with override. 2018-09-17 07:40:00 +00:00
DEPS
detachable-vector-unittest.cc Make DetachableVector accessible from builtins 2018-11-13 01:30:16 +00:00
eh-frame-iterator-unittest.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
eh-frame-writer-unittest.cc Normalize casing of hexadecimal digits 2017-12-02 01:24:40 +00:00
locked-queue-unittest.cc
microtask-queue-unittest.cc Revert "Expose the number of microtasks from RunMicrotasks" 2019-01-23 08:21:51 +00:00
object-unittest.cc [cleanup] Introduce STRUCT_MAPS_LIST generated from STRUCT_LIST. 2018-09-21 16:10:34 +00:00
register-configuration-unittest.cc Use static RegisterName function instead of RegisterConfiguration 2018-11-21 10:24:13 +00:00
run-all-unittests.cc [cleanup] Refactor general tests to use default members. 2018-09-14 14:40:47 +00:00
source-position-table-unittest.cc [cleanup] Refactor general tests to use default members. 2018-09-14 14:40:47 +00:00
strings-storage-unittest.cc Extend hash seed to 64 bits 2018-07-16 11:19:42 +00:00
test-helpers.cc [parser] Rename PreParsedScopeData to PreparseData 2019-01-07 14:49:21 +00:00
test-helpers.h [Compiler] Remove CompilerDispatcherJob and use BackgroundCompileTask directly 2018-10-09 10:39:27 +00:00
test-utils.cc [heap] Reimplement unmapper tests using tracking page allocator 2018-11-07 09:47:17 +00:00
test-utils.h Use local MicrotaskQueue in unittests 2019-01-17 21:42:52 +00:00
testcfg.py [test] Remove dead code from suites and tests 2018-02-01 14:12:49 +00:00
unicode-unittest.cc [base] Introduce VectorOf helper 2018-11-15 13:02:22 +00:00
unittests.status [nojit] Don't allocate executable memory in jitless mode 2019-01-10 10:55:48 +00:00
utils-unittest.cc [utils] Add IsInBounds(index, size, max) helper 2019-01-17 15:25:42 +00:00
value-serializer-unittest.cc [value serializer] check for stack overflow for verify object count. 2018-12-17 10:21:18 +00:00