[gc][static-roots] Fix one remaining access to r/o markbits
Yet another access to the markbits on the r/o pages that was overlooked in https://chromium-review.googlesource.com/c/v8/v8/+/4212397. No-Tree-Checks: true No-Try: true Bug: v8:13717 Change-Id: I682a2604512dfda00b3f69d0e1f60edd66391687 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4221702 Commit-Queue: Olivier Flückiger <olivf@chromium.org> Reviewed-by: Dominik Inführ <dinfuehr@chromium.org> Auto-Submit: Olivier Flückiger <olivf@chromium.org> Cr-Commit-Position: refs/heads/main@{#85672}
This commit is contained in:
parent
65a0aaab04
commit
229f91a339
@ -2073,6 +2073,7 @@ bool MarkCompactCollector::IsUnmarkedHeapObject(Heap* heap, FullObjectSlot p) {
|
||||
Object o = *p;
|
||||
if (!o.IsHeapObject()) return false;
|
||||
HeapObject heap_object = HeapObject::cast(o);
|
||||
if (heap_object.InReadOnlySpace()) return false;
|
||||
MarkCompactCollector* collector = heap->mark_compact_collector();
|
||||
if (V8_UNLIKELY(collector->uses_shared_heap_) &&
|
||||
!collector->is_shared_heap_isolate_) {
|
||||
|
Loading…
Reference in New Issue
Block a user