v8/test/unittests
Nikolaos Papaspyrou 7c79ab6d43 [heap] Fix setting start of stack
The stack of an isolate's main thread is kept in the isolate's heap.
This CL sets the stack's start address when the isolate's heap is set
up; it can also be set explicitly from the embedder. The CL also fixes
threaded cctests, where an isolate is shared by many "main" threads.

Bug: v8:13257
Change-Id: Ie30bbbe4130882d94f23de946cbada748f32e22d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3870923
Reviewed-by: Omer Katz <omerkatz@chromium.org>
Commit-Queue: Nikolaos Papaspyrou <nikolaos@chromium.org>
Cr-Commit-Position: refs/heads/main@{#82973}
2022-09-05 12:43:21 +00:00
..
api [wasm] Use v8_flags for accessing flag values 2022-08-29 12:43:46 +00:00
asmjs [test] Remove some unused includes (2) 2022-07-19 08:55:55 +00:00
assembler [baseline][arm64] Improve code generation for conditional branches 2022-08-23 11:10:29 +00:00
base [base] Implement shared mutex for Mac OS X 2022-08-30 14:26:18 +00:00
codegen [ext-code-space] Update loggers for handling Code-less builtins 2022-08-12 10:36:45 +00:00
compiler Reland "[turbofan][arm64] Emit Lsl for Int32MulWithOverflow when possible" 2022-09-01 11:40:02 +00:00
compiler-dispatcher [include] Make Platform::GetPageAllocator abstract 2022-07-25 08:59:56 +00:00
date [test] Move cctest/test-date to unittests 2022-04-26 08:14:32 +00:00
debug [inspector] Speed up DebugPropertyIterator. 2021-09-13 12:52:11 +00:00
deoptimizer [test] Move cctest/test-deoptimization to unittests/ 2022-06-15 12:37:25 +00:00
diagnostics [gdbjit] Fix overlapping AddressRegion check 2021-08-19 17:29:57 +00:00
execution [turbofan] Support BigIntDivide 2022-08-26 08:51:36 +00:00
flags Set memory of flag values read-only on initialization 2022-08-16 08:38:39 +00:00
heap [heap] Fix setting start of stack 2022-09-05 12:43:21 +00:00
inspector Reland "[test] Migrate cctest/test-inspector to unittests/" 2022-08-25 12:49:54 +00:00
interpreter [interpreter] Omit calling default ctors 2022-08-31 15:45:26 +00:00
js-atomics [shared-struct, api] Support shared isolates in API 2022-08-26 23:41:57 +00:00
libplatform [sandbox] Initialize sandbox during V8::Initialize 2022-07-15 09:29:32 +00:00
libsampler [test] move cctest/libsampler to unittests/libsampler 2022-05-17 09:51:27 +00:00
logging [cleanup] Remove --stress-opt remnants 2022-08-31 08:37:44 +00:00
numbers [test] Move cctest/test-diy-fp to unittests/numbers/ 2022-05-31 07:34:19 +00:00
objects [heap][test] Refactor tests using heap internals 2022-09-02 09:26:52 +00:00
parser [heap][test] Refactor tests using heap internals 2022-09-02 09:26:52 +00:00
profiler [test] Move cctest/test-circular-queue to unittests 2022-04-25 14:49:26 +00:00
regexp Reland "[riscv32] Add RISCV32 backend" 2022-08-04 12:47:44 +00:00
regress [heap] Remove Factory::NewUninitializedFixedArray 2021-04-26 13:52:38 +00:00
runtime Reland "[include] Split out v8.h" 2021-08-24 13:08:55 +00:00
sandbox [sandbox] Initialize sandbox during V8::Initialize 2022-07-15 09:29:32 +00:00
strings [heap] Implement SimulateFullSpace for PagedNewSpace 2022-08-12 12:55:52 +00:00
tasks [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
temporal [test] Migrate cctest/test-temporal-parser to unittests/ 2022-08-25 13:01:48 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
tracing [test] Move cctest/test-traced-value to unittests/tracing/ 2022-05-30 06:03:18 +00:00
utils [heap][test] Refactor tests using heap internals 2022-09-02 09:26:52 +00:00
wasm [wasm-stringrefs] Remove subtyping between string view / iter and any 2022-09-02 12:18:32 +00:00
web-snapshot [test] Migrate cctest/test-web-snapshots to unittests/ 2022-08-11 07:02:42 +00:00
zone [test] Add a unittest platform setup mixin 2022-04-06 13:07:43 +00:00
avoid-windows-h-includes.cc Test that heap-inl.h doesn't include windows.h 2021-10-14 21:18:51 +00:00
BUILD.gn [test] Migrate cctest/test-parsing to unittests/ 2022-08-30 17:37:47 +00:00
DEPS Reland "Reland "[test] Move tracing cctest to unittests"" 2022-05-31 16:16:57 +00:00
gay-fixed.cc [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-fixed.h [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-precision.cc [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-precision.h [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-shortest.cc [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
gay-shortest.h [test] Move cctest/{test-bignum-dtoa, test-dtoa 2022-05-17 01:38:57 +00:00
run-all-unittests.cc [test] Add perfetto initialisation to unittest runner 2022-06-01 12:32:17 +00:00
test-helpers.cc [compiler-dispatcher] Move Job pointer to SFI 2021-12-08 16:03:35 +00:00
test-helpers.h [compiler] Introduce ReusableUnoptimizedCompileState 2021-12-08 11:14:27 +00:00
test-utils.cc [shared-struct, api] Support shared isolates in API 2022-08-26 23:41:57 +00:00
test-utils.h [heap][test] Refactor tests using heap internals 2022-09-02 09:26:52 +00:00
testcfg.py [test] Refactor testrunner (4) 2022-07-18 09:52:24 +00:00
unittests.status [test] Fix wrong test names 2022-08-30 18:01:58 +00:00
v8_unittests.cml [fuchsia][v8_unittests] migrate v8_unittests.cmx to .cml 2022-08-24 13:36:40 +00:00