| 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/base_isolate.h" | 10 #include "vm/base_isolate.h" |
| (...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 715 static void VisitIsolates(IsolateVisitor* visitor); | 715 static void VisitIsolates(IsolateVisitor* visitor); |
| 716 | 716 |
| 717 Counters* counters() { return &counters_; } | 717 Counters* counters() { return &counters_; } |
| 718 | 718 |
| 719 // Handle service messages until we are told to resume execution. | 719 // Handle service messages until we are told to resume execution. |
| 720 void PauseEventHandler(); | 720 void PauseEventHandler(); |
| 721 | 721 |
| 722 private: | 722 private: |
| 723 explicit Isolate(const Dart_IsolateFlags& api_flags); | 723 explicit Isolate(const Dart_IsolateFlags& api_flags); |
| 724 | 724 |
| 725 static void KillAllIsolates(Isolate* isolate); |
| 726 |
| 725 void BuildName(const char* name_prefix); | 727 void BuildName(const char* name_prefix); |
| 726 void PrintInvokedFunctions(); | 728 void PrintInvokedFunctions(); |
| 727 | 729 |
| 728 void ProfileIdle(); | 730 void ProfileIdle(); |
| 729 | 731 |
| 730 void set_user_tag(uword tag) { | 732 void set_user_tag(uword tag) { |
| 731 user_tag_ = tag; | 733 user_tag_ = tag; |
| 732 } | 734 } |
| 733 | 735 |
| 734 void set_mutator_thread(Thread* thread) { | 736 void set_mutator_thread(Thread* thread) { |
| (...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1016 intptr_t serialized_args_len_; | 1018 intptr_t serialized_args_len_; |
| 1017 uint8_t* serialized_message_; | 1019 uint8_t* serialized_message_; |
| 1018 intptr_t serialized_message_len_; | 1020 intptr_t serialized_message_len_; |
| 1019 Isolate::Flags isolate_flags_; | 1021 Isolate::Flags isolate_flags_; |
| 1020 bool paused_; | 1022 bool paused_; |
| 1021 }; | 1023 }; |
| 1022 | 1024 |
| 1023 } // namespace dart | 1025 } // namespace dart |
| 1024 | 1026 |
| 1025 #endif // VM_ISOLATE_H_ | 1027 #endif // VM_ISOLATE_H_ |
| OLD | NEW |