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

Unified Diff: runtime/vm/handles_impl.h

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/gc_sweeper.cc ('k') | runtime/vm/heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/handles_impl.h
===================================================================
--- runtime/vm/handles_impl.h (revision 21785)
+++ runtime/vm/handles_impl.h (working copy)
@@ -6,7 +6,6 @@
#define VM_HANDLES_IMPL_H_
#include "vm/heap.h"
-#include "vm/heap_trace.h"
#include "vm/visitor.h"
namespace dart {
@@ -116,10 +115,6 @@
Handles* handles = isolate->current_zone()->handles();
ASSERT(handles != NULL);
uword address = handles->AllocateHandleInZone();
- if (HeapTrace::is_enabled()) {
- uword zone_addr = reinterpret_cast<uword>(isolate->current_zone());
- isolate->heap()->trace()->TraceAllocateZoneHandle(address, zone_addr);
- }
return address;
}
@@ -153,13 +148,6 @@
zone_blocks_ = NULL;
// Delete all the scoped handle blocks.
- // Do not trace if there is no current isolate. This can happen during
- // isolate shutdown.
- if (HeapTrace::is_enabled() && Isolate::Current() != NULL) {
- Isolate::Current()->heap()->trace()->TraceDeleteScopedHandles();
- }
-
-
scoped_blocks_ = first_scoped_block_.next_block();
DeleteHandleBlocks(scoped_blocks_);
first_scoped_block_.ReInit();
« no previous file with comments | « runtime/vm/gc_sweeper.cc ('k') | runtime/vm/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698