• 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
..
base Loading commit data...
cppgc Loading commit data...
cppgc-js Loading commit data...
allocation-observer-unittest.cc Loading commit data...
bitmap-test-utils.h Loading commit data...
bitmap-unittest.cc Loading commit data...
code-object-registry-unittest.cc Loading commit data...
embedder-tracing-unittest.cc Loading commit data...
gc-idle-time-handler-unittest.cc Loading commit data...
gc-tracer-unittest.cc Loading commit data...
heap-controller-unittest.cc Loading commit data...
heap-unittest.cc Loading commit data...
heap-utils.cc Loading commit data...
heap-utils.h Loading commit data...
index-generator-unittest.cc Loading commit data...
lab-unittest.cc Loading commit data...
list-unittest.cc Loading commit data...
local-factory-unittest.cc Loading commit data...
local-heap-unittest.cc Loading commit data...
marking-unittest.cc Loading commit data...
marking-worklist-unittest.cc Loading commit data...
memory-reducer-unittest.cc Loading commit data...
object-start-bitmap-unittest.cc Loading commit data...
object-stats-unittest.cc Loading commit data...
persistent-handles-unittest.cc Loading commit data...
progressbar-unittest.cc Loading commit data...
safepoint-unittest.cc Loading commit data...
slot-set-unittest.cc Loading commit data...
spaces-unittest.cc Loading commit data...
unmapper-unittest.cc Loading commit data...