[heap] Add missing atomicity parameter in NotifyLeftTrimming.
Bug: chromium:752461 Change-Id: Ie70a4ed1314e040d0edecece6a1dca7b1fc8d001 Reviewed-on: https://chromium-review.googlesource.com/610083 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Ulan Degenbaev <ulan@chromium.org> Cr-Commit-Position: refs/heads/master@{#47287}
This commit is contained in:
parent
d9b54ff988
commit
17f7efee49
@ -181,8 +181,8 @@ void IncrementalMarking::NotifyLeftTrimming(HeapObject* from, HeapObject* to) {
|
||||
if (from->address() + kPointerSize == to->address()) {
|
||||
// The old and the new markbits overlap. The |to| object is either white
|
||||
// or grey. Set the first bit to make sure that it is grey.
|
||||
new_mark_bit.Set();
|
||||
DCHECK(!new_mark_bit.Next().Get());
|
||||
new_mark_bit.Set<kAtomicity>();
|
||||
DCHECK(!new_mark_bit.Next().Get<kAtomicity>());
|
||||
} else {
|
||||
bool success = Marking::WhiteToGrey<kAtomicity>(new_mark_bit);
|
||||
DCHECK(success);
|
||||
|
Loading…
Reference in New Issue
Block a user