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

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
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/object.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 132
133 #if defined(DEBUG) 133 #if defined(DEBUG)
134 // static 134 // static
135 void BaseIsolate::AssertCurrent(BaseIsolate* isolate) { 135 void BaseIsolate::AssertCurrent(BaseIsolate* isolate) {
136 ASSERT(isolate == Isolate::Current()); 136 ASSERT(isolate == Isolate::Current());
137 } 137 }
138 #endif 138 #endif
139 139
140 140
141 Isolate::Isolate() 141 Isolate::Isolate()
142 : store_buffer_(), 142 : store_buffer_block_(),
143 store_buffer_(),
143 message_notify_callback_(NULL), 144 message_notify_callback_(NULL),
144 name_(NULL), 145 name_(NULL),
145 main_port_(0), 146 main_port_(0),
146 heap_(NULL), 147 heap_(NULL),
147 object_store_(NULL), 148 object_store_(NULL),
148 top_context_(Context::null()), 149 top_context_(Context::null()),
149 random_seed_(Random::kDefaultRandomSeed), 150 random_seed_(Random::kDefaultRandomSeed),
150 top_exit_frame_info_(0), 151 top_exit_frame_info_(0),
151 init_callback_data_(NULL), 152 init_callback_data_(NULL),
152 library_tag_handler_(NULL), 153 library_tag_handler_(NULL),
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 445
445 446
446 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor, 447 void Isolate::VisitWeakPersistentHandles(HandleVisitor* visitor,
447 bool visit_prologue_weak_handles) { 448 bool visit_prologue_weak_handles) {
448 if (api_state() != NULL) { 449 if (api_state() != NULL) {
449 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles); 450 api_state()->VisitWeakHandles(visitor, visit_prologue_weak_handles);
450 } 451 }
451 } 452 }
452 453
453 } // namespace dart 454 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698