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

Unified Diff: runtime/vm/heap.h

Issue 836593002: Deletion barrier: Distinguish+verify field initialization in ia32 generated code. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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/intermediate_language.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.h
===================================================================
--- runtime/vm/heap.h (revision 42713)
+++ runtime/vm/heap.h (working copy)
@@ -63,6 +63,13 @@
static const intptr_t kHeapSizeInMB = kHeapSizeInMWords * kWordSize;
static const intptr_t kCodeHeapSizeInMB = 18;
+#if defined(DEBUG)
+ // Pattern for unused new space and swept old space.
+ static const uint64_t kZap64Bits = 0xf3f3f3f3f3f3f3f3;
+ static const uint32_t kZap32Bits = static_cast<uint32_t>(kZap64Bits);
+ static const uint8_t kZapByte = static_cast<uint8_t>(kZap64Bits);
+#endif // DEBUG
+
~Heap();
Scavenger* new_space() const { return new_space_; }
« no previous file with comments | « runtime/vm/gc_sweeper.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698