v8/test
pthier a8b61ef521 [sparkplug] Change bytecode offset mapping and introduce iterator.
Previously, we recorded pairs of (bytecode offset, sparkplug pc) to
create a mapping of bytecode offset <-> sparkplug pc.
These pairs were only recorded after builtin/runtime calls.
In preparation for deoptimizing to Sparkplug, we need a more precise
mapping.
With this CL, we record positions for every bytecode. Instead of storing
a pair of (bytecode offset, sparkplug pc), we store only the pc,
calculating the bytecode offset from the index in the mapping table.
For easier use an iterator to access the mapping is introduced.

Drive-by: Reduce sampling interval in cpu-profiler cctest to get rid of
flaky failures.

Bug: v8:11420, v8:11429
Change-Id: I36a9171f43a574eb67880cbca6cf9ff7ab291e60
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2720189
Reviewed-by: Victor Gomes <victorgomes@chromium.org>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Auto-Submit: Patrick Thier <pthier@chromium.org>
Commit-Queue: Patrick Thier <pthier@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73186}
2021-03-04 12:30:07 +00:00
..
benchmarks IWYU: Added missing include: include/cppgc/persistent.h 2021-02-17 17:37:29 +00:00
cctest [sparkplug] Change bytecode offset mapping and introduce iterator. 2021-03-04 12:30:07 +00:00
common Revert "[wasm-simd] Remove add horiz instructions" 2021-03-04 01:36:18 +00:00
debugger [no-wasm] Skip wasm tests if wasm is disabled 2021-02-22 11:06:40 +00:00
debugging [wasm] [debugging] Fix --wasm-gdb-remote 2020-12-08 19:37:25 +00:00
fuzzer [no-wasm] Remove wasm tests and fuzzers 2021-02-26 12:53:12 +00:00
fuzzilli Fix unhandled promise rejections in REPRL mode 2020-09-30 13:34:23 +00:00
inspector [build] Fold v8_wrappers into v8_libbase 2021-02-25 10:56:20 +00:00
intl Revert "[test] Disable tests failing with new msan roll" 2021-03-02 00:00:03 +00:00
js-perf-test Update OWNERS in test/* 2021-02-25 14:26:24 +00:00
memory Reland^4 "[serializer] Allocate during deserialization" 2020-10-07 08:15:50 +00:00
message [mips] Skip all Simd tests on MIPS like PPC 2021-02-26 04:23:06 +00:00
mjsunit [sparkplug] Change bytecode offset mapping and introduce iterator. 2021-03-04 12:30:07 +00:00
mkgrokdump [build] Fold v8_wrappers into v8_libbase 2021-02-25 10:56:20 +00:00
mozilla [compiler, infra] Add a --stress-concurrent-inlining flag and a bot 2021-01-29 12:05:03 +00:00
test262 Revert "[test] Disable tests failing with new msan roll" 2021-03-02 00:00:03 +00:00
torque [torque] Add LazyNode support 2021-02-23 16:51:53 +00:00
unittests cppgc: Rework Visitor ephemeron handling 2021-03-04 11:30:36 +00:00
wasm-api-tests [build] Add common_test_headers dep to wasm_api_tests 2021-03-03 11:08:44 +00:00
wasm-js Update wasm-js tests and wasm-spec-tests 2021-03-03 19:03:05 +00:00
wasm-spec-tests Update wasm-js tests and wasm-spec-tests 2021-03-03 19:03:05 +00:00
webkit Disallow \8 and \9 in strict mode and template literals 2020-08-03 18:05:14 +00:00
BUILD.gn [build] Add common_test_headers dep to wasm_api_tests 2021-03-03 11:08:44 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00