• Dan Elphick's avatar
    [heap] Skip marking of read-only roots · df625be0
    Dan Elphick authored
    Adds new VisitModes VISIT_ALL_BUT_READ_ONLY and
    VISIT_STRONG_FOR_SERIALIZATION.
    
    GC-related methods like MarkReachableObjects now now use
    VISIT_ALL_BUT_READ_ONLY instead of VISIT_ALL. All GC-related VisitModes
    skip iterating over the read-only roots.
    
    All Serializer methods should always use a _FOR_SERIALIZATION value to
    ensure they do visit the read-only roots.
    
    Also adds RootsTable::read_only_roots_begin and end methods.
    
    Bug: v8:7464
    Change-Id: I468d7ae9f345d9fc0e10837f01dc5b92bd996412
    Reviewed-on: https://chromium-review.googlesource.com/c/1256245Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Reviewed-by: 's avatarHannes Payer <hpayer@chromium.org>
    Commit-Queue: Dan Elphick <delphick@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#56368}
    df625be0
Name
Last commit
Last update
..
OWNERS Loading commit data...
allocation-tracker.cc Loading commit data...
allocation-tracker.h Loading commit data...
circular-queue-inl.h Loading commit data...
circular-queue.h Loading commit data...
cpu-profiler-inl.h Loading commit data...
cpu-profiler.cc Loading commit data...
cpu-profiler.h Loading commit data...
heap-profiler.cc Loading commit data...
heap-profiler.h Loading commit data...
heap-snapshot-generator-inl.h Loading commit data...
heap-snapshot-generator.cc Loading commit data...
heap-snapshot-generator.h Loading commit data...
profile-generator-inl.h Loading commit data...
profile-generator.cc Loading commit data...
profile-generator.h Loading commit data...
profiler-listener.cc Loading commit data...
profiler-listener.h Loading commit data...
sampling-heap-profiler.cc Loading commit data...
sampling-heap-profiler.h Loading commit data...
strings-storage.cc Loading commit data...
strings-storage.h Loading commit data...
tick-sample.cc Loading commit data...
tick-sample.h Loading commit data...
tracing-cpu-profiler.cc Loading commit data...
tracing-cpu-profiler.h Loading commit data...
unbound-queue-inl.h Loading commit data...
unbound-queue.h Loading commit data...