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