| Index: src/heap/concurrent-marking.cc
|
| diff --git a/src/heap/concurrent-marking.cc b/src/heap/concurrent-marking.cc
|
| index f541828e290bf5a77979d70066ee91b2b618e0b3..8ff7be3f06246373d44afdeddc1ce1916fde20ef 100644
|
| --- a/src/heap/concurrent-marking.cc
|
| +++ b/src/heap/concurrent-marking.cc
|
| @@ -59,7 +59,7 @@ class ConcurrentMarkingVisitor final
|
| void VisitPointers(HeapObject* host, Object** start, Object** end) override {
|
| for (Object** p = start; p < end; p++) {
|
| Object* object = reinterpret_cast<Object*>(
|
| - base::NoBarrier_Load(reinterpret_cast<const base::AtomicWord*>(p)));
|
| + base::Relaxed_Load(reinterpret_cast<const base::AtomicWord*>(p)));
|
| if (!object->IsHeapObject()) continue;
|
| MarkObject(HeapObject::cast(object));
|
| }
|
| @@ -183,7 +183,7 @@ class ConcurrentMarkingVisitor final
|
| Object** end) override {
|
| for (Object** p = start; p < end; p++) {
|
| Object* object = reinterpret_cast<Object*>(
|
| - base::NoBarrier_Load(reinterpret_cast<const base::AtomicWord*>(p)));
|
| + base::Relaxed_Load(reinterpret_cast<const base::AtomicWord*>(p)));
|
| slot_snapshot_->add(p, object);
|
| }
|
| }
|
|
|