| 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 "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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 678 is_service_isolate_(false), | 678 is_service_isolate_(false), |
| 679 log_(new class Log()), | 679 log_(new class Log()), |
| 680 stacktrace_(NULL), | 680 stacktrace_(NULL), |
| 681 stack_frame_index_(-1), | 681 stack_frame_index_(-1), |
| 682 last_allocationprofile_accumulator_reset_timestamp_(0), | 682 last_allocationprofile_accumulator_reset_timestamp_(0), |
| 683 last_allocationprofile_gc_timestamp_(0), | 683 last_allocationprofile_gc_timestamp_(0), |
| 684 object_id_ring_(NULL), | 684 object_id_ring_(NULL), |
| 685 trace_buffer_(NULL), | 685 trace_buffer_(NULL), |
| 686 timeline_event_recorder_(NULL), | 686 timeline_event_recorder_(NULL), |
| 687 profiler_data_(NULL), | 687 profiler_data_(NULL), |
| 688 thread_state_(NULL), | |
| 689 tag_table_(GrowableObjectArray::null()), | 688 tag_table_(GrowableObjectArray::null()), |
| 690 current_tag_(UserTag::null()), | 689 current_tag_(UserTag::null()), |
| 691 default_tag_(UserTag::null()), | 690 default_tag_(UserTag::null()), |
| 692 collected_closures_(GrowableObjectArray::null()), | 691 collected_closures_(GrowableObjectArray::null()), |
| 693 deoptimized_code_array_(GrowableObjectArray::null()), | 692 deoptimized_code_array_(GrowableObjectArray::null()), |
| 694 metrics_list_head_(NULL), | 693 metrics_list_head_(NULL), |
| 695 compilation_allowed_(true), | 694 compilation_allowed_(true), |
| 696 cha_(NULL), | 695 cha_(NULL), |
| 697 next_(NULL), | 696 next_(NULL), |
| 698 pause_loop_monitor_(NULL), | 697 pause_loop_monitor_(NULL), |
| (...skipping 1470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2169 serialized_message_, serialized_message_len_); | 2168 serialized_message_, serialized_message_len_); |
| 2170 } | 2169 } |
| 2171 | 2170 |
| 2172 | 2171 |
| 2173 void IsolateSpawnState::Cleanup() { | 2172 void IsolateSpawnState::Cleanup() { |
| 2174 SwitchIsolateScope switch_scope(I); | 2173 SwitchIsolateScope switch_scope(I); |
| 2175 Dart::ShutdownIsolate(); | 2174 Dart::ShutdownIsolate(); |
| 2176 } | 2175 } |
| 2177 | 2176 |
| 2178 } // namespace dart | 2177 } // namespace dart |
| OLD | NEW |