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

Unified Diff: runtime/vm/dart.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
« no previous file with comments | « no previous file | runtime/vm/gc_marker.h » ('j') | runtime/vm/heap.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart.cc
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
index e4013740eed50ae16637af0bcb53b85f2d7dd375..66a5d2119c83524a462b147d341ab69362b037c5 100644
--- a/runtime/vm/dart.cc
+++ b/runtime/vm/dart.cc
@@ -14,6 +14,7 @@
#include "vm/isolate.h"
#include "vm/object.h"
#include "vm/object_store.h"
+#include "vm/object_id_ring.h"
#include "vm/port.h"
#include "vm/simulator.h"
#include "vm/snapshot.h"
@@ -110,6 +111,7 @@ const char* Dart::InitOnce(Dart_IsolateCreateCallback create,
StackZone zone(vm_isolate_);
HandleScope handle_scope(vm_isolate_);
Heap::Init(vm_isolate_);
+ ObjectIdRing::Init(vm_isolate_);
Ivan Posva 2013/07/10 01:10:13 Does the VM isolate really need an object id ring?
Cutch 2013/07/10 17:23:10 Done.
ObjectStore::Init(vm_isolate_);
Object::InitOnce();
ArgumentsDescriptor::InitOnce();
@@ -159,6 +161,7 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
StackZone zone(isolate);
HandleScope handle_scope(isolate);
Heap::Init(isolate);
+ ObjectIdRing::Init(isolate);
ObjectStore::Init(isolate);
if (snapshot_buffer == NULL) {
« no previous file with comments | « no previous file | runtime/vm/gc_marker.h » ('j') | runtime/vm/heap.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698