OLD | NEW |
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 "include/dart_native_api.h" | 8 #include "include/dart_native_api.h" |
9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
10 #include "platform/json.h" | 10 #include "platform/json.h" |
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 errors_fatal_(true), | 750 errors_fatal_(true), |
751 object_store_(NULL), | 751 object_store_(NULL), |
752 top_exit_frame_info_(0), | 752 top_exit_frame_info_(0), |
753 init_callback_data_(NULL), | 753 init_callback_data_(NULL), |
754 environment_callback_(NULL), | 754 environment_callback_(NULL), |
755 library_tag_handler_(NULL), | 755 library_tag_handler_(NULL), |
756 api_state_(NULL), | 756 api_state_(NULL), |
757 debugger_(NULL), | 757 debugger_(NULL), |
758 resume_request_(false), | 758 resume_request_(false), |
759 last_resume_timestamp_(OS::GetCurrentTimeMillis()), | 759 last_resume_timestamp_(OS::GetCurrentTimeMillis()), |
760 has_compiled_(false), | 760 has_compiled_code_(false), |
761 flags_(), | 761 flags_(), |
762 random_(), | 762 random_(), |
763 simulator_(NULL), | 763 simulator_(NULL), |
764 deopt_id_(0), | |
765 mutex_(new Mutex()), | 764 mutex_(new Mutex()), |
766 saved_stack_limit_(0), | 765 saved_stack_limit_(0), |
767 stack_base_(0), | 766 stack_base_(0), |
768 stack_overflow_flags_(0), | 767 stack_overflow_flags_(0), |
769 stack_overflow_count_(0), | 768 stack_overflow_count_(0), |
770 message_handler_(NULL), | 769 message_handler_(NULL), |
771 spawn_state_(NULL), | 770 spawn_state_(NULL), |
772 is_runnable_(false), | 771 is_runnable_(false), |
773 gc_prologue_callback_(NULL), | 772 gc_prologue_callback_(NULL), |
774 gc_epilogue_callback_(NULL), | 773 gc_epilogue_callback_(NULL), |
(...skipping 1842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2617 serialized_message_, serialized_message_len_); | 2616 serialized_message_, serialized_message_len_); |
2618 } | 2617 } |
2619 | 2618 |
2620 | 2619 |
2621 void IsolateSpawnState::Cleanup() { | 2620 void IsolateSpawnState::Cleanup() { |
2622 SwitchIsolateScope switch_scope(I); | 2621 SwitchIsolateScope switch_scope(I); |
2623 Dart::ShutdownIsolate(); | 2622 Dart::ShutdownIsolate(); |
2624 } | 2623 } |
2625 | 2624 |
2626 } // namespace dart | 2625 } // namespace dart |
OLD | NEW |