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

Side by Side Diff: runtime/vm/isolate.cc

Issue 10702067: - Separate store buffer data in the isolate into the StoreBufferBlock and (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/isolate.h" 5 #include "vm/isolate.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "lib/mirrors.h" 9 #include "lib/mirrors.h"
10 #include "vm/compiler_stats.h" 10 #include "vm/compiler_stats.h"
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 #if defined(DEBUG) 135 #if defined(DEBUG)
136 // static 136 // static
137 void BaseIsolate::AssertCurrent(BaseIsolate* isolate) { 137 void BaseIsolate::AssertCurrent(BaseIsolate* isolate) {
138 ASSERT(isolate == Isolate::Current()); 138 ASSERT(isolate == Isolate::Current());
139 } 139 }
140 #endif 140 #endif
141 141
142 142
143 Isolate::Isolate() 143 Isolate::Isolate()
144 : store_buffer_(), 144 : store_buffer_block_(),
145 store_buffer_(),
145 message_notify_callback_(NULL), 146 message_notify_callback_(NULL),
146 name_(NULL), 147 name_(NULL),
147 main_port_(0), 148 main_port_(0),
148 heap_(NULL), 149 heap_(NULL),
149 object_store_(NULL), 150 object_store_(NULL),
150 top_context_(Context::null()), 151 top_context_(Context::null()),
151 random_seed_(Random::kDefaultRandomSeed), 152 random_seed_(Random::kDefaultRandomSeed),
152 top_exit_frame_info_(0), 153 top_exit_frame_info_(0),
153 init_callback_data_(NULL), 154 init_callback_data_(NULL),
154 library_tag_handler_(NULL), 155 library_tag_handler_(NULL),
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 447
447 448
448 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor, 449 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor,
449 bool visit_prologue_weak_handles) { 450 bool visit_prologue_weak_handles) {
450 if (api_state() != NULL) { 451 if (api_state() != NULL) {
451 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles); 452 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles);
452 } 453 }
453 } 454 }
454 455
455 } // namespace dart 456 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698