v8/test
Shu-yu Guo 258b146b1b [shared-struct] Do not depend on shared objects for optimized code
It is an invariant that objects in the shared heap never point into
per-Isolate heaps. This is currently broken by DependentCode. At the
same time, shared maps and other holders of DependentCode are designed
to never invalidate optimized code. E.g., shared maps are effectively
immutable.

This CL does two things:

1. Prevent shared objects from being depended upon
2. DCHECK that shared objects never cause deoptimization

Bug: v8:12547, v8:12761
Change-Id: I0fedae9134a8f786a9200e70f99dba7b38cd2d80
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3704809
Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
Reviewed-by: Michael Lippautz <mlippautz@chromium.org>
Commit-Queue: Shu-yu Guo <syg@chromium.org>
Cr-Commit-Position: refs/heads/main@{#81340}
2022-06-23 21:22:58 +00:00
..
benchmarks Mark benchmarks/kraken/audio-dft as slow under slow variants 2022-06-15 23:10:02 +00:00
bigint [bigint][test] Parse command-line integer parameters robustly 2022-05-30 15:21:36 +00:00
cctest [wasm-atomics] Use traps for atomic Load and Store OOB handling 2022-06-23 18:43:56 +00:00
common [wasm][refactor] Use MessageTemplate to describe errors 2022-06-09 16:01:54 +00:00
debugger [flags] Rename --opt to --turbofan 2022-05-03 12:10:30 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer [wams-gc] Enable i31.new as constant expression 2022-06-16 07:04:53 +00:00
fuzzilli
inspector Reland "[inspector] Allow Debugger.setScriptSource to edit top-most function" 2022-06-15 07:48:30 +00:00
intl Fix unreachable code under --harmony-intl-number-format-v3 2022-06-22 02:57:57 +00:00
js-perf-test [compiler] Inline Array.prototype.at in JSCallReducer 2022-05-25 10:01:03 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message [api] add v8::Module::GetStalledTopLevelAwaitMessage() 2022-06-10 16:46:57 +00:00
mjsunit [shared-struct] Do not depend on shared objects for optimized code 2022-06-23 21:22:58 +00:00
mkgrokdump [sandbox] Turn V8_SANDBOX into V8_ENABLE_SANDBOX 2022-05-13 16:23:23 +00:00
mozilla [test] Clean up Py2 code 2022-03-17 09:12:36 +00:00
test262 [Temporal] Add add/subtract to PlainYearMonth 2022-06-18 00:35:02 +00:00
torque Reland "Reland "[Torque] Generalize Torque literals to larger size"" 2022-02-04 09:40:24 +00:00
unittests [stringrefs] Add wtf8_policy immediate to string.new_wtf8 2022-06-23 18:45:02 +00:00
wasm-api-tests [wasm][c-api] Add handle scope to fix wasm_module_validate 2022-06-09 16:46:23 +00:00
wasm-js [wasm] Update spec tests 2022-06-15 11:38:32 +00:00
wasm-spec-tests Reland "[sandbox] Also enable the sandbox outside of Chromium builds" 2022-06-21 13:32:26 +00:00
webkit [test] Disable failing MSVC test 2021-12-01 15:51:59 +00:00
BUILD.gn [test] Move cctest/interpreter to unittests 2022-06-10 08:37:10 +00:00
OWNERS