| Index: runtime/vm/object.cc
|
| diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
|
| index ed653a98a080ab51476c430085e0269007d32dca..defdcc5332423e8ce2cd3dffef24e0a46f6d8011 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::RecordAllocation(thread, cls_id);
|
| + Profiler::SampleAllocation(thread, cls_id);
|
| }
|
| NoSafepointScope no_safepoint;
|
| InitializeObject(address, cls_id, size, (isolate == Dart::vm_isolate()));
|
|
|