v8/test
Michael Lippautz 935d915186 cppgc: Introduce AllocationHandle
Unified heap support in V8 requires having another (at least internal)
heap that implements a unfied garbage collection strategy. This will
not re-use the already existing cppgc::Heap because there should be no
way in creating such a heap externally or scheduling stand-alone
garbage collections.

In order to have a common token, this CL introduces AllocationHandle
which can be passed to MakeGarbageCollected to allocate C++ objects.
V8 (soon) and the stand-alone heap both have methods to retrieve such
a handle.

This works around a problem with creating diamond class hierarchies
when a base class would be exposed on the public API level.

Fast paths for Blink are still possible because allocation handles can
be cached the same way (e.g. global, or TLS) as a heap can be cached.

Tbr: yangguo@chromium.org
Bug: chromium:1056170
Change-Id: I8e9472a2c24ef82d1178953e8429b1fd8a2344bc
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2238027
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Reviewed-by: Omer Katz <omerkatz@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68310}
2020-06-10 23:11:20 +00:00
..
benchmarks [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
cctest [wasm-simd][arm64] Prototype f32x4 and f64x2 rounding 2020-06-10 22:43:00 +00:00
common [wasm-gc][cleanup] Remove nullref type 2020-06-10 09:01:24 +00:00
debugger [wasm] Rename anyref to externref, anyref flag/feature to reftypes 2020-06-09 17:51:04 +00:00
debugging [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
fuzzer [compiler] Fix double error reporting for parser errors 2020-06-10 08:36:41 +00:00
fuzzilli Integrate fuzzilli into v8 2020-06-03 09:53:24 +00:00
inspector [wasm][debug] Clean up inspector tests 2020-06-10 07:28:10 +00:00
intl Fix maximize/minimize of Intl.Locale 2020-06-10 00:01:37 +00:00
js-perf-test [js-perf-test] Benchmark for sloppy equality 2020-05-04 08:29:00 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message [wasm] Add tracing support in turbofan 2020-06-09 10:35:33 +00:00
mjsunit [runtime] Fix reentrancy bug in JSFunction::EnsureHasInitialMap 2020-06-10 13:43:07 +00:00
mkgrokdump Revert "[heap] Make ReadOnlySpace use bump pointer allocation" 2020-06-05 15:24:46 +00:00
mozilla [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
test262 Fix maximize/minimize of Intl.Locale 2020-06-10 00:01:37 +00:00
torque [torque] Generate better code when using & operator on bitfields 2020-05-22 21:59:06 +00:00
unittests cppgc: Introduce AllocationHandle 2020-06-10 23:11:20 +00:00
wasm-api-tests [wasm-api-tests] initialize the loop variable 2020-06-10 15:39:58 +00:00
wasm-js [wasm] Rename anyref to externref, anyref flag/feature to reftypes 2020-06-09 17:51:04 +00:00
wasm-spec-tests [wasm] Rename anyref to externref, anyref flag/feature to reftypes 2020-06-09 17:51:04 +00:00
webkit [snapshot] Clear reconstructable data prior to d8 stress_snapshot run 2020-05-06 07:11:22 +00:00
BUILD.gn Integrate fuzzilli into v8 2020-06-03 09:53:24 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00