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

Unified Diff: runtime/vm/heap.cc

Issue 18259014: Object ID Ring with tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: runtime/vm/heap.cc
diff --git a/runtime/vm/heap.cc b/runtime/vm/heap.cc
index 59691e834842173eac0601186b49a09e46cbc657..f27e5dac9f558af82e8341f7cdd5e181ae8cc69c 100644
--- a/runtime/vm/heap.cc
+++ b/runtime/vm/heap.cc
@@ -36,7 +36,8 @@ DEFINE_FLAG(int, old_gen_heap_size, Heap::kHeapSizeInMB,
"old gen heap size in MB,"
"e.g: --old_gen_heap_size=1024 allocates a 1024MB old gen heap");
- Heap::Heap() : read_only_(false), gc_in_progress_(false) {
+Heap::Heap() : read_only_(false), gc_in_progress_(false),
+ object_id_ring_table_(NULL), object_id_ring_table_size_(0) {
for (int sel = 0;
sel < kNumWeakSelectors;
sel++) {

Powered by Google App Engine
This is Rietveld 408576698