diff options
Diffstat (limited to 'runtime/stack.h')
-rw-r--r-- | runtime/stack.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/runtime/stack.h b/runtime/stack.h index 9dceb2931d..90a0aee353 100644 --- a/runtime/stack.h +++ b/runtime/stack.h @@ -590,7 +590,10 @@ class StackVisitor { }; protected: - StackVisitor(Thread* thread, Context* context, StackWalkKind walk_kind); + StackVisitor(Thread* thread, + Context* context, + StackWalkKind walk_kind, + bool check_suspended = true); bool GetRegisterIfAccessible(uint32_t reg, VRegKind kind, uint32_t* val) const REQUIRES_SHARED(Locks::mutator_lock_); @@ -797,7 +800,11 @@ class StackVisitor { private: // Private constructor known in the case that num_frames_ has already been computed. - StackVisitor(Thread* thread, Context* context, StackWalkKind walk_kind, size_t num_frames) + StackVisitor(Thread* thread, + Context* context, + StackWalkKind walk_kind, + size_t num_frames, + bool check_suspended = true) REQUIRES_SHARED(Locks::mutator_lock_); bool IsAccessibleRegister(uint32_t reg, bool is_float) const { @@ -851,6 +858,7 @@ class StackVisitor { protected: Context* const context_; + const bool check_suspended_; }; } // namespace art |