Index: runtime/vm/heap.cc |
=================================================================== |
--- runtime/vm/heap.cc (revision 21785) |
+++ runtime/vm/heap.cc (working copy) |
@@ -8,7 +8,6 @@ |
#include "platform/utils.h" |
#include "vm/flags.h" |
#include "vm/heap_profiler.h" |
-#include "vm/heap_trace.h" |
#include "vm/isolate.h" |
#include "vm/object.h" |
#include "vm/object_set.h" |
@@ -41,7 +40,6 @@ |
kNewObjectAlignmentOffset); |
old_space_ = new PageSpace(this, (FLAG_old_gen_heap_size * MB)); |
stats_.num_ = 0; |
- heap_trace_ = new HeapTrace; |
} |
@@ -61,9 +59,6 @@ |
return AllocateOld(size, HeapPage::kData); |
} |
} |
- if (HeapTrace::is_enabled()) { |
- heap_trace_->TraceAllocation(addr, size); |
- } |
return addr; |
} |
@@ -80,9 +75,6 @@ |
return 0; |
} |
} |
- if (HeapTrace::is_enabled()) { |
- heap_trace_->TraceAllocation(addr, size); |
- } |
return addr; |
} |