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

Unified Diff: runtime/vm/object.h

Issue 664593002: - Add a separate step to finalize the VM isolate explicitly. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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/vm/dart.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 41169)
+++ runtime/vm/object.h (working copy)
@@ -404,6 +404,16 @@
return *empty_exception_handlers_;
}
+ static const Array& extractor_parameter_types() {
+ ASSERT(extractor_parameter_types_ != NULL);
+ return *extractor_parameter_types_;
+ }
+
+ static const Array& extractor_parameter_names() {
+ ASSERT(extractor_parameter_names_ != NULL);
+ return *extractor_parameter_names_;
+ }
+
// The sentinel is a value that cannot be produced by Dart code.
// It can be used to mark special values, for example to distinguish
// "uninitialized" fields.
@@ -491,10 +501,14 @@
}
static RawClass* subtypetestcache_class() { return subtypetestcache_class_; }
+ // Initialize the VM isolate.
+ static void InitOnce(Isolate* isolate);
+ static void FinalizeVMIsolate(Isolate* isolate);
+
+ // Initialize a new isolate either from source or from a snapshot.
static RawError* Init(Isolate* isolate);
static void InitFromSnapshot(Isolate* isolate);
- static void InitOnce();
- static void RegisterSingletonClassNames();
+
static void MakeUnusedSpaceTraversable(const Object& obj,
intptr_t original_size,
intptr_t used_size);
@@ -761,6 +775,8 @@
static PcDescriptors* empty_descriptors_;
static LocalVarDescriptors* empty_var_descriptors_;
static ExceptionHandlers* empty_exception_handlers_;
+ static Array* extractor_parameter_types_;
+ static Array* extractor_parameter_names_;
static Instance* sentinel_;
static Instance* transition_sentinel_;
static Instance* unknown_constant_;
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698