| Index: src/mark-compact.cc
|
| diff --git a/src/mark-compact.cc b/src/mark-compact.cc
|
| index c4ef923c108ee26f268839187a8ccdcf9279f292..176c9d906c5a3a937d19db67be61975e91b3efdb 100644
|
| --- a/src/mark-compact.cc
|
| +++ b/src/mark-compact.cc
|
| @@ -2837,7 +2837,8 @@ void MarkCompactCollector::EvacuateNewSpaceAndCandidates() {
|
| &UpdateReferenceInExternalStringTableEntry);
|
|
|
| // Update JSFunction pointers from the runtime profiler.
|
| - heap_->isolate()->runtime_profiler()->UpdateSamplesAfterScavenge();
|
| + heap()->isolate()->runtime_profiler()->UpdateSamplesAfterCompact(
|
| + &updating_visitor);
|
|
|
| EvacuationWeakObjectRetainer evacuation_object_retainer;
|
| heap()->ProcessWeakReferences(&evacuation_object_retainer);
|
|
|