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 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
836 bool compilation_allowed_; | 836 bool compilation_allowed_; |
837 bool all_classes_finalized_; | 837 bool all_classes_finalized_; |
838 bool remapping_cids_; | 838 bool remapping_cids_; |
839 | 839 |
840 // Isolate list next pointer. | 840 // Isolate list next pointer. |
841 Isolate* next_; | 841 Isolate* next_; |
842 | 842 |
843 // Used to wake the isolate when it is in the pause event loop. | 843 // Used to wake the isolate when it is in the pause event loop. |
844 Monitor* pause_loop_monitor_; | 844 Monitor* pause_loop_monitor_; |
845 | 845 |
846 // Invalidation generations; used to track events occuring in parallel | 846 // Invalidation generations; used to track events occurring in parallel |
847 // to background compilation. The counters may overflow, which is OK | 847 // to background compilation. The counters may overflow, which is OK |
848 // since we check for equality to detect if an event occured. | 848 // since we check for equality to detect if an event occured. |
849 intptr_t loading_invalidation_gen_; | 849 intptr_t loading_invalidation_gen_; |
850 intptr_t top_level_parsing_count_; | 850 intptr_t top_level_parsing_count_; |
851 | 851 |
852 // Protect access to boxed_field_list_. | 852 // Protect access to boxed_field_list_. |
853 Mutex* field_list_mutex_; | 853 Mutex* field_list_mutex_; |
854 // List of fields that became boxed and that trigger deoptimization. | 854 // List of fields that became boxed and that trigger deoptimization. |
855 RawGrowableObjectArray* boxed_field_list_; | 855 RawGrowableObjectArray* boxed_field_list_; |
856 | 856 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1034 intptr_t* spawn_count_; | 1034 intptr_t* spawn_count_; |
1035 | 1035 |
1036 Dart_IsolateFlags isolate_flags_; | 1036 Dart_IsolateFlags isolate_flags_; |
1037 bool paused_; | 1037 bool paused_; |
1038 bool errors_are_fatal_; | 1038 bool errors_are_fatal_; |
1039 }; | 1039 }; |
1040 | 1040 |
1041 } // namespace dart | 1041 } // namespace dart |
1042 | 1042 |
1043 #endif // RUNTIME_VM_ISOLATE_H_ | 1043 #endif // RUNTIME_VM_ISOLATE_H_ |
OLD | NEW |