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

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 650 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698