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

Unified Diff: runtime/vm/heap.cc

Issue 2383293003: - fix some cases where we are using uninitialized memory (Closed)
Patch Set: address self code review. Created 4 years, 3 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
Index: runtime/vm/heap.cc
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc
index c3353d276231028b1ad6b2c3730b12b01c241163..97a6da65489efb190ec73ec19bdd267e8914fae8 100644
--- a/runtime/vm/heap.cc
+++ b/runtime/vm/heap.cc
@@ -38,6 +38,7 @@ Heap::Heap(Isolate* isolate,
read_only_(false),
gc_new_space_in_progress_(false),
gc_old_space_in_progress_(false) {
+ UpdateGlobalMaxUsed();
for (int sel = 0;
sel < kNumWeakSelectors;
sel++) {

Powered by Google App Engine
This is Rietveld 408576698