| Index: src/heap/incremental-marking.cc
|
| diff --git a/src/heap/incremental-marking.cc b/src/heap/incremental-marking.cc
|
| index 686c6738821437a1621c4f495391632813ae58e3..6d046803b953744a716dc632bd5281cfca0788ff 100644
|
| --- a/src/heap/incremental-marking.cc
|
| +++ b/src/heap/incremental-marking.cc
|
| @@ -729,7 +729,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.
|
|
|