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

Unified Diff: vm/object.cc

Issue 9027017: - Promote objects from new gen to old space if they survived a scavenge. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 9 years 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 | « vm/intrinsifier_ia32.cc ('k') | vm/pages.h » ('j') | vm/pages.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/object.cc
===================================================================
--- vm/object.cc (revision 2792)
+++ vm/object.cc (working copy)
@@ -222,6 +222,7 @@
uword address = heap->Allocate(Instance::InstanceSize(), Heap::kOld);
null_ = reinterpret_cast<RawInstance*>(address + kHeapObjectTag);
InitializeObject(address, Instance::InstanceSize()); // Using 'null_'.
+ null_->ptr()->tags_ = 0;
}
// Initialize object_store empty array to null_ in order to be able to check
« no previous file with comments | « vm/intrinsifier_ia32.cc ('k') | vm/pages.h » ('j') | vm/pages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698