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

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

Issue 1299653003: Migrate LongJumpScope to Thread. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Assert current isolate. Created 5 years, 4 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
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/longjump.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 "platform/json.h" 9 #include "platform/json.h"
10 #include "vm/code_observers.h" 10 #include "vm/code_observers.h"
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 environment_callback_(NULL), 654 environment_callback_(NULL),
655 library_tag_handler_(NULL), 655 library_tag_handler_(NULL),
656 api_state_(NULL), 656 api_state_(NULL),
657 debugger_(NULL), 657 debugger_(NULL),
658 single_step_(false), 658 single_step_(false),
659 resume_request_(false), 659 resume_request_(false),
660 has_compiled_(false), 660 has_compiled_(false),
661 flags_(), 661 flags_(),
662 random_(), 662 random_(),
663 simulator_(NULL), 663 simulator_(NULL),
664 long_jump_base_(NULL),
665 timer_list_(), 664 timer_list_(),
666 deopt_id_(0), 665 deopt_id_(0),
667 mutex_(new Mutex()), 666 mutex_(new Mutex()),
668 stack_limit_(0), 667 stack_limit_(0),
669 saved_stack_limit_(0), 668 saved_stack_limit_(0),
670 stack_base_(0), 669 stack_base_(0),
671 stack_overflow_flags_(0), 670 stack_overflow_flags_(0),
672 stack_overflow_count_(0), 671 stack_overflow_count_(0),
673 message_handler_(NULL), 672 message_handler_(NULL),
674 spawn_state_(NULL), 673 spawn_state_(NULL),
(...skipping 1490 matching lines...) Expand 10 before | Expand all | Expand 10 after
2165 serialized_message_, serialized_message_len_); 2164 serialized_message_, serialized_message_len_);
2166 } 2165 }
2167 2166
2168 2167
2169 void IsolateSpawnState::Cleanup() { 2168 void IsolateSpawnState::Cleanup() {
2170 SwitchIsolateScope switch_scope(I); 2169 SwitchIsolateScope switch_scope(I);
2171 Dart::ShutdownIsolate(); 2170 Dart::ShutdownIsolate();
2172 } 2171 }
2173 2172
2174 } // namespace dart 2173 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/isolate.h ('k') | runtime/vm/longjump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698