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

Unified Diff: runtime/vm/scavenger.cc

Issue 2975723003: [vm] Don't track allocation stats during marking in product mode. (Closed)
Patch Set: Created 3 years, 5 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_marker.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/scavenger.cc
diff --git a/runtime/vm/scavenger.cc b/runtime/vm/scavenger.cc
index 34810a109fe21f4382c01d7ad88892b38b329592..81cc55d5c781eb729c29f6685289ab9de22a58e2 100644
--- a/runtime/vm/scavenger.cc
+++ b/runtime/vm/scavenger.cc
@@ -73,7 +73,6 @@ class ScavengerVisitor : public ObjectPointerVisitor {
scavenger_(scavenger),
from_(from),
heap_(scavenger->heap_),
- vm_heap_(Dart::vm_isolate()->heap()),
page_space_(scavenger->heap_->old_space()),
bytes_promoted_(0),
visiting_old_object_(NULL) {}
@@ -184,7 +183,6 @@ class ScavengerVisitor : public ObjectPointerVisitor {
Scavenger* scavenger_;
SemiSpace* from_;
Heap* heap_;
- Heap* vm_heap_;
PageSpace* page_space_;
RawWeakProperty* delayed_weak_properties_;
intptr_t bytes_promoted_;
« no previous file with comments | « runtime/vm/gc_marker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698