| 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 1428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1439 Dart_IsolateCreateCallback Isolate::create_callback_ = NULL; | 1439 Dart_IsolateCreateCallback Isolate::create_callback_ = NULL; |
| 1440 Dart_IsolateInterruptCallback Isolate::interrupt_callback_ = NULL; | 1440 Dart_IsolateInterruptCallback Isolate::interrupt_callback_ = NULL; |
| 1441 Dart_IsolateUnhandledExceptionCallback | 1441 Dart_IsolateUnhandledExceptionCallback |
| 1442 Isolate::unhandled_exception_callback_ = NULL; | 1442 Isolate::unhandled_exception_callback_ = NULL; |
| 1443 Dart_IsolateShutdownCallback Isolate::shutdown_callback_ = NULL; | 1443 Dart_IsolateShutdownCallback Isolate::shutdown_callback_ = NULL; |
| 1444 Dart_FileOpenCallback Isolate::file_open_callback_ = NULL; | 1444 Dart_FileOpenCallback Isolate::file_open_callback_ = NULL; |
| 1445 Dart_FileReadCallback Isolate::file_read_callback_ = NULL; | 1445 Dart_FileReadCallback Isolate::file_read_callback_ = NULL; |
| 1446 Dart_FileWriteCallback Isolate::file_write_callback_ = NULL; | 1446 Dart_FileWriteCallback Isolate::file_write_callback_ = NULL; |
| 1447 Dart_FileCloseCallback Isolate::file_close_callback_ = NULL; | 1447 Dart_FileCloseCallback Isolate::file_close_callback_ = NULL; |
| 1448 Dart_EntropySource Isolate::entropy_source_callback_ = NULL; | 1448 Dart_EntropySource Isolate::entropy_source_callback_ = NULL; |
| 1449 Dart_IsolateInterruptCallback Isolate::vmstats_callback_ = NULL; | |
| 1450 | 1449 |
| 1451 Monitor* Isolate::isolates_list_monitor_ = NULL; | 1450 Monitor* Isolate::isolates_list_monitor_ = NULL; |
| 1452 Isolate* Isolate::isolates_list_head_ = NULL; | 1451 Isolate* Isolate::isolates_list_head_ = NULL; |
| 1453 | 1452 |
| 1454 | 1453 |
| 1455 void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor, | 1454 void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor, |
| 1456 bool visit_prologue_weak_handles, | 1455 bool visit_prologue_weak_handles, |
| 1457 bool validate_frames) { | 1456 bool validate_frames) { |
| 1458 ASSERT(visitor != NULL); | 1457 ASSERT(visitor != NULL); |
| 1459 | 1458 |
| (...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1970 serialized_message_, serialized_message_len_); | 1969 serialized_message_, serialized_message_len_); |
| 1971 } | 1970 } |
| 1972 | 1971 |
| 1973 | 1972 |
| 1974 void IsolateSpawnState::Cleanup() { | 1973 void IsolateSpawnState::Cleanup() { |
| 1975 SwitchIsolateScope switch_scope(I); | 1974 SwitchIsolateScope switch_scope(I); |
| 1976 Dart::ShutdownIsolate(); | 1975 Dart::ShutdownIsolate(); |
| 1977 } | 1976 } |
| 1978 | 1977 |
| 1979 } // namespace dart | 1978 } // namespace dart |
| OLD | NEW |