v8/test
Omer Katz acb0263c7f cppgc: Fix flaky crash due to used bytes counters mismatch
Cppgc reports used bytes statistics to CppHeap. CppHeap should forward
the stats to v8. However, if we are not allowed to trigger a GC, CppHeap
will cache the stats until the reporting.
On GC finalization, CppHeap resets v8's counters to the current marked
bytes counter.
If the last reported stats before GC finalization are cached, CppHeap
doesn't clear the cache on GC finalization. On the next stats reporting,
CppHeap will report the cached values. If the cache is a decrease that
is larger than the current marked bytes, a DCHECK in
LocalEmbedderHeapTracer::DecreaseAllocatedSize will fail.

Bug: chromium:1056170
Change-Id: I47933abc3e5f5c4a91454e0ec03adde5cf61d8fc
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3056970
Commit-Queue: Omer Katz <omerkatz@chromium.org>
Reviewed-by: Anton Bikineev <bikineev@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75986}
2021-07-29 10:11:42 +00:00
..
benchmarks [test] Mark pdfjs as slow for TSAN builds 2021-07-28 14:03:46 +00:00
bigint [bigint] Define V8_ADVANCED_BIGINT_ALGORITHMS everywhere 2021-07-27 15:17:34 +00:00
cctest [profiler] Use description for Symbols in Heap snapshots. 2021-07-28 14:18:36 +00:00
common [wasm][eh] Encode values in WebAssembly.Exception 2021-07-27 13:23:07 +00:00
debugger Reland "Reland "Reland "Improve error messages for property access on null/undefined""" 2021-07-08 14:31:27 +00:00
debugging [d8][mjsunit][tools] Improve d8 file API 2021-06-01 13:37:57 +00:00
fuzzer [fuzzer] Adding struct.new and array.new operations 2021-07-28 16:45:56 +00:00
fuzzilli
inspector Include test/inspector/regress to swarming 2021-07-29 08:00:47 +00:00
intl [intl] Skip intl test on Android 2021-06-24 13:15:53 +00:00
js-perf-test A jump-table implementation for constant case switch statements 2021-06-23 09:26:23 +00:00
memory [snapshot] Fix the Memory.json benchmark 2021-04-28 07:54:34 +00:00
message Reland "Reland "Reland "Improve error messages for property access on null/undefined""" 2021-07-08 14:31:27 +00:00
mjsunit Revert "Mark json-parser-recursive as slow" 2021-07-29 08:08:50 +00:00
mkgrokdump [build] Fold v8_wrappers into v8_libbase 2021-02-25 10:56:20 +00:00
mozilla Reland "[test] Unmark TSAN tests as SLOW/SKIP" 2021-06-28 10:19:20 +00:00
test262 [rab/gsab] TypedArray.prototype.fill: Support rab / gsab 2021-07-27 17:07:04 +00:00
torque [torque] Add LazyNode support 2021-02-23 16:51:53 +00:00
unittests cppgc: Fix flaky crash due to used bytes counters mismatch 2021-07-29 10:11:42 +00:00
wasm-api-tests [wasm] Make --wasm-trap-handler a d8-only flag 2021-06-30 09:32:55 +00:00
wasm-js [wasm] Update wasm spec tests 2021-07-08 12:46:48 +00:00
wasm-spec-tests [riscv64][wasm] Implement wasm function 2021-07-13 00:08:25 +00:00
webkit Revert "Reland "[build] Add V8-specific dcheck_always_on"" 2021-07-27 11:14:57 +00:00
BUILD.gn Reland^2 "[bigint] Karatsuba multiplication" 2021-06-07 11:01:14 +00:00
OWNERS