v8/test
Santiago Aboy Solanes 2b873b94e9 [compiler] Don't serialize BytecodeArrayData's source_positions_
This CL adds functionality to read the source positions directly
from the JS heap rather than from serialized data.

In order to do this, we create a PersistentHandles container in the
OptimizedCompilationInfo which gets passed onto the JSHeapBroker. This
allows us to create the handles in the main thread and pass them safely
to the background thread.

In order to read safely from the background thread, we need a LocalHeap
which blocks the GC from running and potentially moving the handles.
This LocalHeap is created only when the JSHeapBroker has finalized
serializing and destroyed when retiring it.

Bug: v8:7790
Change-Id: I19f8b08d12e5be0a3df34d6af2043310c0c7b6fe
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2277802
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Commit-Queue: Santiago Aboy Solanes <solanes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68836}
2020-07-14 11:01:44 +00:00
..
benchmarks cppgc: Use object start bitmap to trace mixins 2020-07-10 12:00:45 +00:00
cctest [compiler] Don't serialize BytecodeArrayData's source_positions_ 2020-07-14 11:01:44 +00:00
common [compiler] Don't serialize BytecodeArrayData's source_positions_ 2020-07-14 11:01:44 +00:00
debugger [d8] Exit with error code upon unhandled promise rejection 2020-06-24 07:21:58 +00:00
debugging [Py3] Fix flake8 warnings 2020-07-10 16:57:15 +00:00
fuzzer [zone] Cleanup zone allocations in src/compiler and tests, pt.1 2020-07-10 12:09:05 +00:00
fuzzilli Integrate fuzzilli into v8 2020-06-03 09:53:24 +00:00
inspector Fix crash on inspector setScriptSource calls when source is unchanged 2020-07-07 13:25:51 +00:00
intl Sync w/ fractionalSecondDigits 2020-07-13 17:43:28 +00:00
js-perf-test [js-perf-test] Add flags for async benchmark 2020-07-01 12:04:46 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message [d8] Handle recursively rejected promises 2020-06-30 08:27:36 +00:00
mjsunit [respect] Stop using "blacklist" in several python tools 2020-07-10 19:11:36 +00:00
mkgrokdump [heap] Move BaseSpace into base-space.h 2020-06-19 09:38:24 +00:00
mozilla [Respect] Prefer inclusive terms 2020-06-22 18:11:23 +00:00
test262 Roll test262 2020-07-14 07:31:39 +00:00
torque [Torque] Add flags to NewExpression 2020-07-10 15:34:36 +00:00
unittests [compiler] Don't serialize BytecodeArrayData's source_positions_ 2020-07-14 11:01:44 +00:00
wasm-api-tests [wasm-gc] Refactoring in preparation of generalizing WasmInitExpr 2020-07-09 15:03:18 +00:00
wasm-js [wasm] Add tail call spec tests 2020-07-02 14:11:49 +00:00
wasm-spec-tests [mips][liftoff] Fix zeroing the stack. 2020-07-14 10:34:41 +00:00
webkit [d8] Exit with error code upon unhandled promise rejection 2020-06-24 07:21:58 +00:00
BUILD.gn Add google_benchmark depdendency 2020-07-02 20:11:29 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00