| 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 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 739 stack_base_(0), | 739 stack_base_(0), |
| 740 stack_overflow_flags_(0), | 740 stack_overflow_flags_(0), |
| 741 stack_overflow_count_(0), | 741 stack_overflow_count_(0), |
| 742 message_handler_(NULL), | 742 message_handler_(NULL), |
| 743 spawn_state_(NULL), | 743 spawn_state_(NULL), |
| 744 is_runnable_(false), | 744 is_runnable_(false), |
| 745 gc_prologue_callback_(NULL), | 745 gc_prologue_callback_(NULL), |
| 746 gc_epilogue_callback_(NULL), | 746 gc_epilogue_callback_(NULL), |
| 747 defer_finalization_count_(0), | 747 defer_finalization_count_(0), |
| 748 deopt_context_(NULL), | 748 deopt_context_(NULL), |
| 749 edge_counter_increment_size_(-1), | |
| 750 compiler_stats_(NULL), | 749 compiler_stats_(NULL), |
| 751 is_service_isolate_(false), | 750 is_service_isolate_(false), |
| 752 stacktrace_(NULL), | 751 stacktrace_(NULL), |
| 753 stack_frame_index_(-1), | 752 stack_frame_index_(-1), |
| 754 last_allocationprofile_accumulator_reset_timestamp_(0), | 753 last_allocationprofile_accumulator_reset_timestamp_(0), |
| 755 last_allocationprofile_gc_timestamp_(0), | 754 last_allocationprofile_gc_timestamp_(0), |
| 756 object_id_ring_(NULL), | 755 object_id_ring_(NULL), |
| 757 trace_buffer_(NULL), | 756 trace_buffer_(NULL), |
| 758 profiler_data_(NULL), | 757 profiler_data_(NULL), |
| 759 tag_table_(GrowableObjectArray::null()), | 758 tag_table_(GrowableObjectArray::null()), |
| (...skipping 1817 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2577 serialized_message_, serialized_message_len_); | 2576 serialized_message_, serialized_message_len_); |
| 2578 } | 2577 } |
| 2579 | 2578 |
| 2580 | 2579 |
| 2581 void IsolateSpawnState::Cleanup() { | 2580 void IsolateSpawnState::Cleanup() { |
| 2582 SwitchIsolateScope switch_scope(I); | 2581 SwitchIsolateScope switch_scope(I); |
| 2583 Dart::ShutdownIsolate(); | 2582 Dart::ShutdownIsolate(); |
| 2584 } | 2583 } |
| 2585 | 2584 |
| 2586 } // namespace dart | 2585 } // namespace dart |
| OLD | NEW |