| 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 "lib/mirrors.h" | 10 #include "lib/mirrors.h" |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 spawn_state_(NULL), | 422 spawn_state_(NULL), |
| 423 is_runnable_(false), | 423 is_runnable_(false), |
| 424 gc_prologue_callback_(NULL), | 424 gc_prologue_callback_(NULL), |
| 425 gc_epilogue_callback_(NULL), | 425 gc_epilogue_callback_(NULL), |
| 426 defer_finalization_count_(0), | 426 defer_finalization_count_(0), |
| 427 deopt_context_(NULL), | 427 deopt_context_(NULL), |
| 428 stacktrace_(NULL), | 428 stacktrace_(NULL), |
| 429 stack_frame_index_(-1), | 429 stack_frame_index_(-1), |
| 430 last_allocationprofile_accumulator_reset_timestamp_(0), | 430 last_allocationprofile_accumulator_reset_timestamp_(0), |
| 431 last_allocationprofile_gc_timestamp_(0), | 431 last_allocationprofile_gc_timestamp_(0), |
| 432 cha_used_(false), | 432 cha_(NULL), |
| 433 object_id_ring_(NULL), | 433 object_id_ring_(NULL), |
| 434 trace_buffer_(NULL), | 434 trace_buffer_(NULL), |
| 435 profiler_data_(NULL), | 435 profiler_data_(NULL), |
| 436 thread_state_(NULL), | 436 thread_state_(NULL), |
| 437 tag_table_(GrowableObjectArray::null()), | 437 tag_table_(GrowableObjectArray::null()), |
| 438 current_tag_(UserTag::null()), | 438 current_tag_(UserTag::null()), |
| 439 next_(NULL), | 439 next_(NULL), |
| 440 REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_INITIALIZERS) | 440 REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_INITIALIZERS) |
| 441 REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_SCOPE_INIT) | 441 REUSABLE_HANDLE_LIST(REUSABLE_HANDLE_SCOPE_INIT) |
| 442 reusable_handles_() { | 442 reusable_handles_() { |
| (...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1386 return func.raw(); | 1386 return func.raw(); |
| 1387 } | 1387 } |
| 1388 | 1388 |
| 1389 | 1389 |
| 1390 void IsolateSpawnState::Cleanup() { | 1390 void IsolateSpawnState::Cleanup() { |
| 1391 SwitchIsolateScope switch_scope(I); | 1391 SwitchIsolateScope switch_scope(I); |
| 1392 Dart::ShutdownIsolate(); | 1392 Dart::ShutdownIsolate(); |
| 1393 } | 1393 } |
| 1394 | 1394 |
| 1395 } // namespace dart | 1395 } // namespace dart |
| OLD | NEW |