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

Unified Diff: runtime/vm/raw_object.h

Issue 10915120: In preparation for lazy deoptimization add "is_alive_" field to RawCode: visit embedded pointers on… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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/raw_object.h
===================================================================
--- runtime/vm/raw_object.h (revision 11927)
+++ runtime/vm/raw_object.h (working copy)
@@ -762,8 +762,11 @@
}
intptr_t pointer_offsets_length_;
- // This cannot be boolean because of alignment issues on x64 architectures.
+ // These fields cannot be boolean because of alignment issues on x64
+ // architectures.
intptr_t is_optimized_;
+ // If true, the embedded object pointers will be visited during GC.
+ intptr_t is_alive_;
siva 2012/09/06 16:57:55 Not for this CL but at some point we should consid
srdjan 2012/09/06 17:06:03 Agree.
// Variable length data follows here.
int32_t data_[0];
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/raw_object.cc » ('j') | runtime/vm/raw_object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698