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 RUNTIME_VM_ISOLATE_H_ | 5 #ifndef RUNTIME_VM_ISOLATE_H_ |
6 #define RUNTIME_VM_ISOLATE_H_ | 6 #define RUNTIME_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 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
853 | 853 |
854 #define REUSABLE_FRIEND_DECLARATION(name) \ | 854 #define REUSABLE_FRIEND_DECLARATION(name) \ |
855 friend class Reusable##name##HandleScope; | 855 friend class Reusable##name##HandleScope; |
856 REUSABLE_HANDLE_LIST(REUSABLE_FRIEND_DECLARATION) | 856 REUSABLE_HANDLE_LIST(REUSABLE_FRIEND_DECLARATION) |
857 #undef REUSABLE_FRIEND_DECLARATION | 857 #undef REUSABLE_FRIEND_DECLARATION |
858 | 858 |
859 friend class Become; // VisitObjectPointers | 859 friend class Become; // VisitObjectPointers |
860 friend class GCMarker; // VisitObjectPointers | 860 friend class GCMarker; // VisitObjectPointers |
861 friend class SafepointHandler; | 861 friend class SafepointHandler; |
862 friend class Scavenger; // VisitObjectPointers | 862 friend class Scavenger; // VisitObjectPointers |
| 863 friend class ObjectGraph; // VisitObjectPointers |
863 friend class ServiceIsolate; | 864 friend class ServiceIsolate; |
864 friend class Thread; | 865 friend class Thread; |
865 friend class Timeline; | 866 friend class Timeline; |
866 friend class NoReloadScope; // reload_block | 867 friend class NoReloadScope; // reload_block |
867 | 868 |
868 | 869 |
869 DISALLOW_COPY_AND_ASSIGN(Isolate); | 870 DISALLOW_COPY_AND_ASSIGN(Isolate); |
870 }; | 871 }; |
871 | 872 |
872 | 873 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
992 intptr_t* spawn_count_; | 993 intptr_t* spawn_count_; |
993 | 994 |
994 Dart_IsolateFlags isolate_flags_; | 995 Dart_IsolateFlags isolate_flags_; |
995 bool paused_; | 996 bool paused_; |
996 bool errors_are_fatal_; | 997 bool errors_are_fatal_; |
997 }; | 998 }; |
998 | 999 |
999 } // namespace dart | 1000 } // namespace dart |
1000 | 1001 |
1001 #endif // RUNTIME_VM_ISOLATE_H_ | 1002 #endif // RUNTIME_VM_ISOLATE_H_ |
OLD | NEW |