| Index: runtime/vm/object.cc
 | 
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
 | 
| index 276c5ca6b5f4fce423a48fcc282a94a5bca130d2..0a3b9ec1d2e5881eede608462431e4c0d2b11d92 100644
 | 
| --- a/runtime/vm/object.cc
 | 
| +++ b/runtime/vm/object.cc
 | 
| @@ -1859,7 +1859,7 @@ RawObject* Object::Allocate(intptr_t cls_id,
 | 
|    }
 | 
|    const Class& cls = Class::Handle(class_table->At(cls_id));
 | 
|    if (cls.TraceAllocation(isolate)) {
 | 
| -    Profiler::SampleAllocation(thread, cls_id);
 | 
| +    Profiler::RecordAllocation(thread, cls_id);
 | 
|    }
 | 
|    NoSafepointScope no_safepoint;
 | 
|    InitializeObject(address, cls_id, size, (isolate == Dart::vm_isolate()));
 | 
| 
 |