• Dominik Inführ's avatar
    [objects] Add ArrayBufferExtension class · 69fda08a
    Dominik Inführ authored
    This CL adds the ArrayBufferExtension class, which is used to track
    JSArrayBuffers in a linked list. The ArrayBufferExtension is going to
    replace the ArrayBufferTracker in the future but is currently behind
    the v8_enable_array_buffer_extension feature flag.
    
    When enabled, each JSArrayBuffer has a corresponding native-heap
    allocated ArrayBufferExtension object. All extensions are currently
    tracked in a single linked list. During marking the GC not only
    marks the JSArrayBuffer but also its extension object. At the end of
    mark-compact the GC iterates all extensions and removes unmarked ones.
    
    Change-Id: I88298be255944d5ae1327c91b0d7f0fdbcd486d5
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1969791Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#65724}
    69fda08a
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...