| 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 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 570 stack_base_(0), | 570 stack_base_(0), |
| 571 stack_overflow_flags_(0), | 571 stack_overflow_flags_(0), |
| 572 stack_overflow_count_(0), | 572 stack_overflow_count_(0), |
| 573 message_handler_(NULL), | 573 message_handler_(NULL), |
| 574 spawn_state_(NULL), | 574 spawn_state_(NULL), |
| 575 is_runnable_(false), | 575 is_runnable_(false), |
| 576 gc_prologue_callback_(NULL), | 576 gc_prologue_callback_(NULL), |
| 577 gc_epilogue_callback_(NULL), | 577 gc_epilogue_callback_(NULL), |
| 578 defer_finalization_count_(0), | 578 defer_finalization_count_(0), |
| 579 deopt_context_(NULL), | 579 deopt_context_(NULL), |
| 580 edge_counter_increment_size_(-1), |
| 580 is_service_isolate_(false), | 581 is_service_isolate_(false), |
| 581 log_(new class Log()), | 582 log_(new class Log()), |
| 582 stacktrace_(NULL), | 583 stacktrace_(NULL), |
| 583 stack_frame_index_(-1), | 584 stack_frame_index_(-1), |
| 584 last_allocationprofile_accumulator_reset_timestamp_(0), | 585 last_allocationprofile_accumulator_reset_timestamp_(0), |
| 585 last_allocationprofile_gc_timestamp_(0), | 586 last_allocationprofile_gc_timestamp_(0), |
| 586 cha_(NULL), | 587 cha_(NULL), |
| 587 object_id_ring_(NULL), | 588 object_id_ring_(NULL), |
| 588 trace_buffer_(NULL), | 589 trace_buffer_(NULL), |
| 589 profiler_data_(NULL), | 590 profiler_data_(NULL), |
| (...skipping 1382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1972 serialized_message_, serialized_message_len_); | 1973 serialized_message_, serialized_message_len_); |
| 1973 } | 1974 } |
| 1974 | 1975 |
| 1975 | 1976 |
| 1976 void IsolateSpawnState::Cleanup() { | 1977 void IsolateSpawnState::Cleanup() { |
| 1977 SwitchIsolateScope switch_scope(I); | 1978 SwitchIsolateScope switch_scope(I); |
| 1978 Dart::ShutdownIsolate(); | 1979 Dart::ShutdownIsolate(); |
| 1979 } | 1980 } |
| 1980 | 1981 |
| 1981 } // namespace dart | 1982 } // namespace dart |
| OLD | NEW |