| Index: src/heap-profiler.cc
|
| diff --git a/src/heap-profiler.cc b/src/heap-profiler.cc
|
| index c0016fbd2b9f3a3ecc30c7eef328c3f8af46be7a..46320b615418fa628b4644c3f98a2a22cd89558e 100644
|
| --- a/src/heap-profiler.cc
|
| +++ b/src/heap-profiler.cc
|
| @@ -158,6 +158,7 @@ void HeapProfiler::SetRetainedObjectInfo(UniqueId id,
|
|
|
| void HeapProfiler::StartHeapAllocationsRecording() {
|
| StartHeapObjectsTracking();
|
| + heap()->DisableInlineAllocation();
|
| is_tracking_allocations_ = true;
|
| DropCompiledCode();
|
| snapshots_->UpdateHeapObjectsMap();
|
| @@ -166,6 +167,7 @@ void HeapProfiler::StartHeapAllocationsRecording() {
|
|
|
| void HeapProfiler::StopHeapAllocationsRecording() {
|
| StopHeapObjectsTracking();
|
| + heap()->EnableInlineAllocation();
|
| is_tracking_allocations_ = false;
|
| DropCompiledCode();
|
| }
|
|
|