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

Unified Diff: runtime/vm/heap.cc

Issue 2383293003: - fix some cases where we are using uninitialized memory (Closed)
Patch Set: Fix lint issue. Created 4 years, 2 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/platform/memory_sanitizer.h ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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++) {
« no previous file with comments | « runtime/platform/memory_sanitizer.h ('k') | runtime/vm/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698