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 743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 Dart_IsolateInterruptCallback Isolate::interrupt_callback_ = NULL; | 754 Dart_IsolateInterruptCallback Isolate::interrupt_callback_ = NULL; |
755 Dart_IsolateUnhandledExceptionCallback | 755 Dart_IsolateUnhandledExceptionCallback |
756 Isolate::unhandled_exception_callback_ = NULL; | 756 Isolate::unhandled_exception_callback_ = NULL; |
757 Dart_IsolateShutdownCallback Isolate::shutdown_callback_ = NULL; | 757 Dart_IsolateShutdownCallback Isolate::shutdown_callback_ = NULL; |
758 Dart_FileOpenCallback Isolate::file_open_callback_ = NULL; | 758 Dart_FileOpenCallback Isolate::file_open_callback_ = NULL; |
759 Dart_FileReadCallback Isolate::file_read_callback_ = NULL; | 759 Dart_FileReadCallback Isolate::file_read_callback_ = NULL; |
760 Dart_FileWriteCallback Isolate::file_write_callback_ = NULL; | 760 Dart_FileWriteCallback Isolate::file_write_callback_ = NULL; |
761 Dart_FileCloseCallback Isolate::file_close_callback_ = NULL; | 761 Dart_FileCloseCallback Isolate::file_close_callback_ = NULL; |
762 Dart_EntropySource Isolate::entropy_source_callback_ = NULL; | 762 Dart_EntropySource Isolate::entropy_source_callback_ = NULL; |
763 Dart_IsolateInterruptCallback Isolate::vmstats_callback_ = NULL; | 763 Dart_IsolateInterruptCallback Isolate::vmstats_callback_ = NULL; |
764 | 764 Dart_ServiceIsolateCreateCalback Isolate::service_create_callback_ = NULL; |
765 | 765 |
766 void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor, | 766 void Isolate::VisitObjectPointers(ObjectPointerVisitor* visitor, |
767 bool visit_prologue_weak_handles, | 767 bool visit_prologue_weak_handles, |
768 bool validate_frames) { | 768 bool validate_frames) { |
769 ASSERT(visitor != NULL); | 769 ASSERT(visitor != NULL); |
770 | 770 |
771 // Visit objects in the object store. | 771 // Visit objects in the object store. |
772 object_store()->VisitObjectPointers(visitor); | 772 object_store()->VisitObjectPointers(visitor); |
773 | 773 |
774 // Visit objects in the class table. | 774 // Visit objects in the class table. |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1121 return func.raw(); | 1121 return func.raw(); |
1122 } | 1122 } |
1123 | 1123 |
1124 | 1124 |
1125 void IsolateSpawnState::Cleanup() { | 1125 void IsolateSpawnState::Cleanup() { |
1126 SwitchIsolateScope switch_scope(isolate()); | 1126 SwitchIsolateScope switch_scope(isolate()); |
1127 Dart::ShutdownIsolate(); | 1127 Dart::ShutdownIsolate(); |
1128 } | 1128 } |
1129 | 1129 |
1130 } // namespace dart | 1130 } // namespace dart |
OLD | NEW |