| Index: src/profiler/sampling-heap-profiler.cc
|
| diff --git a/src/profiler/sampling-heap-profiler.cc b/src/profiler/sampling-heap-profiler.cc
|
| index a73f0789285ca050fb6f37ef10185316173ced1b..18c7e02f542bcd346753b067d967ece1686f08a0 100644
|
| --- a/src/profiler/sampling-heap-profiler.cc
|
| +++ b/src/profiler/sampling-heap-profiler.cc
|
| @@ -99,7 +99,8 @@ void SamplingHeapProfiler::SampleObject(Address soon_object, size_t size) {
|
|
|
| // Mark the new block as FreeSpace to make sure the heap is iterable while we
|
| // are taking the sample.
|
| - heap()->CreateFillerObjectAt(soon_object, static_cast<int>(size));
|
| + heap()->CreateFillerObjectAt(soon_object, static_cast<int>(size),
|
| + ClearRecordedSlots::kNo);
|
|
|
| Local<v8::Value> loc = v8::Utils::ToLocal(obj);
|
|
|
|
|