| 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 #ifndef VM_ISOLATE_H_ | 5 #ifndef VM_ISOLATE_H_ |
| 6 #define VM_ISOLATE_H_ | 6 #define VM_ISOLATE_H_ |
| 7 | 7 |
| 8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
| 9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
| 10 #include "vm/atomic.h" | 10 #include "vm/atomic.h" |
| (...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 678 const Dart_IsolateFlags& api_flags, | 678 const Dart_IsolateFlags& api_flags, |
| 679 bool is_vm_isolate = false); | 679 bool is_vm_isolate = false); |
| 680 | 680 |
| 681 // The isolates_list_monitor_ should be held when calling Kill(). | 681 // The isolates_list_monitor_ should be held when calling Kill(). |
| 682 void KillLocked(LibMsgId msg_id); | 682 void KillLocked(LibMsgId msg_id); |
| 683 | 683 |
| 684 void LowLevelShutdown(); | 684 void LowLevelShutdown(); |
| 685 void Shutdown(); | 685 void Shutdown(); |
| 686 | 686 |
| 687 void BuildName(const char* name_prefix); | 687 void BuildName(const char* name_prefix); |
| 688 void PrintInvokedFunctions(); | |
| 689 | 688 |
| 690 void ProfileIdle(); | 689 void ProfileIdle(); |
| 691 | 690 |
| 692 // Visit all object pointers. Caller must ensure concurrent sweeper is not | 691 // Visit all object pointers. Caller must ensure concurrent sweeper is not |
| 693 // running, and the visitor must not allocate. | 692 // running, and the visitor must not allocate. |
| 694 void VisitObjectPointers(ObjectPointerVisitor* visitor, bool validate_frames); | 693 void VisitObjectPointers(ObjectPointerVisitor* visitor, bool validate_frames); |
| 695 | 694 |
| 696 void set_user_tag(uword tag) { | 695 void set_user_tag(uword tag) { |
| 697 user_tag_ = tag; | 696 user_tag_ = tag; |
| 698 } | 697 } |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 993 uint8_t* serialized_message_; | 992 uint8_t* serialized_message_; |
| 994 intptr_t serialized_message_len_; | 993 intptr_t serialized_message_len_; |
| 995 Isolate::Flags isolate_flags_; | 994 Isolate::Flags isolate_flags_; |
| 996 bool paused_; | 995 bool paused_; |
| 997 bool errors_are_fatal_; | 996 bool errors_are_fatal_; |
| 998 }; | 997 }; |
| 999 | 998 |
| 1000 } // namespace dart | 999 } // namespace dart |
| 1001 | 1000 |
| 1002 #endif // VM_ISOLATE_H_ | 1001 #endif // VM_ISOLATE_H_ |
| OLD | NEW |