• 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
..
heap-tester.h Loading commit data...
heap-utils.cc Loading commit data...
heap-utils.h Loading commit data...
test-alloc.cc Loading commit data...
test-array-buffer-tracker.cc Loading commit data...
test-compaction.cc Loading commit data...
test-concurrent-marking.cc Loading commit data...
test-embedder-tracing.cc Loading commit data...
test-external-string-tracker.cc Loading commit data...
test-heap.cc Loading commit data...
test-incremental-marking.cc Loading commit data...
test-invalidated-slots.cc Loading commit data...
test-iterators.cc Loading commit data...
test-lab.cc Loading commit data...
test-mark-compact.cc Loading commit data...
test-memory-measurement.cc Loading commit data...
test-page-promotion.cc Loading commit data...
test-spaces.cc Loading commit data...
test-unmapper.cc Loading commit data...
test-weak-references.cc Loading commit data...