| Index: runtime/vm/heap.cc
|
| ===================================================================
|
| --- runtime/vm/heap.cc (revision 33311)
|
| +++ runtime/vm/heap.cc (working copy)
|
| @@ -7,7 +7,6 @@
|
| #include "platform/assert.h"
|
| #include "platform/utils.h"
|
| #include "vm/flags.h"
|
| -#include "vm/heap_histogram.h"
|
| #include "vm/isolate.h"
|
| #include "vm/object.h"
|
| #include "vm/object_set.h"
|
| @@ -182,7 +181,6 @@
|
| old_space_->MarkSweep(invoke_api_callbacks);
|
| RecordAfterGC();
|
| PrintStats();
|
| - UpdateObjectHistogram();
|
| break;
|
| }
|
| default:
|
| @@ -191,13 +189,6 @@
|
| }
|
|
|
|
|
| -void Heap::UpdateObjectHistogram() {
|
| - Isolate* isolate = Isolate::Current();
|
| - if (isolate->object_histogram() == NULL) return;
|
| - isolate->object_histogram()->Collect();
|
| -}
|
| -
|
| -
|
| void Heap::UpdateClassHeapStatsBeforeGC(Heap::Space space) {
|
| Isolate* isolate = Isolate::Current();
|
| ClassTable* class_table = isolate->class_table();
|
| @@ -231,7 +222,6 @@
|
| old_space_->MarkSweep(kInvokeApiCallbacks);
|
| RecordAfterGC();
|
| PrintStats();
|
| - UpdateObjectHistogram();
|
| }
|
|
|
|
|
|
|