• Nikolaos Papaspyrou's avatar
    heap: Fix and clean up object start bitmap · 4651df6b
    Nikolaos Papaspyrou authored
    This CL introduces the following changes to the experimental
    implementation of the object start bitmap, that is evaluated as
    a mechanism for resolving inner pointers (behind the flag
    v8_enable_conservative_stack_scanning):
    
    - Manually iterate through page objects, instead of using the
      PagedSpaceObjectIterator, for performance (avoid calling
      MakeHeapIterable all the time) and to simplify the handling
      of filler objects.
    - Clear bits when reusing evacuated pages of the new space.
    - Use the cage base to iterate correctly through code objects.
    - Introduce a method for verifying the validity of the object
      start bitmap.
    - Minor fixes, additional checks and cleanup.
    
    Bug: v8:12851
    Change-Id: I245937ffe6f4b53c4c2dcf5126e8836aec4dc79e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3675099Reviewed-by: 's avatarOmer Katz <omerkatz@chromium.org>
    Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Commit-Queue: Nikolaos Papaspyrou <nikolaos@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#80869}
    4651df6b
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-allocation.cc Loading commit data...
test-concurrent-marking.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-mark-compact.cc Loading commit data...
test-memory-measurement.cc Loading commit data...
test-page-promotion.cc Loading commit data...
test-shared-heap.cc Loading commit data...
test-spaces.cc Loading commit data...
test-unmapper.cc Loading commit data...
test-weak-references.cc Loading commit data...
test-write-barrier.cc Loading commit data...