| Index: src/heap/incremental-marking.cc
|
| diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc
|
| index a3de6a13ad749d51fbe636201e1e6ef41d28755c..91705d85fddfabdf7381410bc6726b0906d5b222 100644
|
| --- a/src/heap/incremental-marking.cc
|
| +++ b/src/heap/incremental-marking.cc
|
| @@ -596,6 +596,7 @@ void IncrementalMarking::MarkRoots() {
|
|
|
|
|
| void IncrementalMarking::MarkObjectGroups() {
|
| + DCHECK(!heap_->UsingEmbedderHeapTracer());
|
| DCHECK(!finalize_marking_completed_);
|
| DCHECK(IsMarking());
|
|
|
| @@ -726,7 +727,9 @@ void IncrementalMarking::FinalizeIncrementally() {
|
| // 4) Remove weak cell with live values from the list of weak cells, they
|
| // do not need processing during GC.
|
| MarkRoots();
|
| - MarkObjectGroups();
|
| + if (!heap_->UsingEmbedderHeapTracer()) {
|
| + MarkObjectGroups();
|
| + }
|
| if (incremental_marking_finalization_rounds_ == 0) {
|
| // Map retaining is needed for perfromance, not correctness,
|
| // so we can do it only once at the beginning of the finalization.
|
|
|