OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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_THREAD_H_ | 5 #ifndef VM_THREAD_H_ |
6 #define VM_THREAD_H_ | 6 #define VM_THREAD_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 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
661 StackResource* top_resource_; | 661 StackResource* top_resource_; |
662 LongJumpScope* long_jump_base_; | 662 LongJumpScope* long_jump_base_; |
663 int32_t no_callback_scope_depth_; | 663 int32_t no_callback_scope_depth_; |
664 #if defined(DEBUG) | 664 #if defined(DEBUG) |
665 HandleScope* top_handle_scope_; | 665 HandleScope* top_handle_scope_; |
666 int32_t no_handle_scope_depth_; | 666 int32_t no_handle_scope_depth_; |
667 int32_t no_safepoint_scope_depth_; | 667 int32_t no_safepoint_scope_depth_; |
668 #endif | 668 #endif |
669 VMHandles reusable_handles_; | 669 VMHandles reusable_handles_; |
670 uword saved_stack_limit_; | 670 uword saved_stack_limit_; |
| 671 intptr_t defer_oob_messages_count_; |
671 uint16_t deferred_interrupts_mask_; | 672 uint16_t deferred_interrupts_mask_; |
672 uint16_t deferred_interrupts_; | 673 uint16_t deferred_interrupts_; |
673 int32_t stack_overflow_count_; | 674 int32_t stack_overflow_count_; |
674 | 675 |
675 // Compiler state: | 676 // Compiler state: |
676 CHA* cha_; | 677 CHA* cha_; |
677 intptr_t deopt_id_; // Compilation specific counter. | 678 intptr_t deopt_id_; // Compilation specific counter. |
678 RawGrowableObjectArray* pending_functions_; | 679 RawGrowableObjectArray* pending_functions_; |
679 | 680 |
680 RawError* sticky_error_; | 681 RawError* sticky_error_; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 // Disable thread interrupts. | 758 // Disable thread interrupts. |
758 class DisableThreadInterruptsScope : public StackResource { | 759 class DisableThreadInterruptsScope : public StackResource { |
759 public: | 760 public: |
760 explicit DisableThreadInterruptsScope(Thread* thread); | 761 explicit DisableThreadInterruptsScope(Thread* thread); |
761 ~DisableThreadInterruptsScope(); | 762 ~DisableThreadInterruptsScope(); |
762 }; | 763 }; |
763 | 764 |
764 } // namespace dart | 765 } // namespace dart |
765 | 766 |
766 #endif // VM_THREAD_H_ | 767 #endif // VM_THREAD_H_ |
OLD | NEW |