Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: runtime/vm/heap.cc

Issue 14179015: - Remove heap tracing. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/heap.h ('k') | runtime/vm/heap_trace.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « runtime/vm/heap.h ('k') | runtime/vm/heap_trace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698