Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Side by Side Diff: runtime/vm/thread.h

Issue 1965823002: Initial isolate reload support (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 657 matching lines...) Expand 10 before | Expand all | Expand 10 after
668 StackResource* top_resource_; 668 StackResource* top_resource_;
669 LongJumpScope* long_jump_base_; 669 LongJumpScope* long_jump_base_;
670 int32_t no_callback_scope_depth_; 670 int32_t no_callback_scope_depth_;
671 #if defined(DEBUG) 671 #if defined(DEBUG)
672 HandleScope* top_handle_scope_; 672 HandleScope* top_handle_scope_;
673 int32_t no_handle_scope_depth_; 673 int32_t no_handle_scope_depth_;
674 int32_t no_safepoint_scope_depth_; 674 int32_t no_safepoint_scope_depth_;
675 #endif 675 #endif
676 VMHandles reusable_handles_; 676 VMHandles reusable_handles_;
677 uword saved_stack_limit_; 677 uword saved_stack_limit_;
678 intptr_t defer_oob_messages_count_;
678 uint16_t deferred_interrupts_mask_; 679 uint16_t deferred_interrupts_mask_;
679 uint16_t deferred_interrupts_; 680 uint16_t deferred_interrupts_;
680 int32_t stack_overflow_count_; 681 int32_t stack_overflow_count_;
681 682
682 // Compiler state: 683 // Compiler state:
683 CHA* cha_; 684 CHA* cha_;
684 intptr_t deopt_id_; // Compilation specific counter. 685 intptr_t deopt_id_; // Compilation specific counter.
685 RawGrowableObjectArray* pending_functions_; 686 RawGrowableObjectArray* pending_functions_;
686 687
687 RawError* sticky_error_; 688 RawError* sticky_error_;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 // Disable thread interrupts. 765 // Disable thread interrupts.
765 class DisableThreadInterruptsScope : public StackResource { 766 class DisableThreadInterruptsScope : public StackResource {
766 public: 767 public:
767 explicit DisableThreadInterruptsScope(Thread* thread); 768 explicit DisableThreadInterruptsScope(Thread* thread);
768 ~DisableThreadInterruptsScope(); 769 ~DisableThreadInterruptsScope();
769 }; 770 };
770 771
771 } // namespace dart 772 } // namespace dart
772 773
773 #endif // VM_THREAD_H_ 774 #endif // VM_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698