diff options
| author | 2014-05-30 19:53:48 +0000 | |
|---|---|---|
| committer | 2014-05-30 19:53:48 +0000 | |
| commit | b413cd79c46b7c48ac763cb8152a55a4ed60fe9f (patch) | |
| tree | d4f09efe7ba5eb3891d26f3a8b1033b02bb72328 /runtime/stack.h | |
| parent | 22460ecbaae7e489a3bc17a2adb2e7e9d0028f9c (diff) | |
| parent | 5cf98196d488437acd1e989c08a554ef697fded1 (diff) | |
Merge "Don't report down-calls as unhandled exceptions."
Diffstat (limited to 'runtime/stack.h')
| -rw-r--r-- | runtime/stack.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/runtime/stack.h b/runtime/stack.h index e93fcbcc21..fabdd4f46a 100644 --- a/runtime/stack.h +++ b/runtime/stack.h @@ -557,6 +557,10 @@ class StackVisitor { return num_frames_; } + // Get the method and dex pc immediately after the one that's currently being visited. + bool GetNextMethodAndDexPc(mirror::ArtMethod** next_method, uint32_t* next_dex_pc) + SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); + uint32_t GetVReg(mirror::ArtMethod* m, uint16_t vreg, VRegKind kind) const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); @@ -691,6 +695,10 @@ class StackVisitor { static void DescribeStack(Thread* thread) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); private: + // Private constructor known in the case that num_frames_ has already been computed. + StackVisitor(Thread* thread, Context* context, size_t num_frames) + SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); + instrumentation::InstrumentationStackFrame& GetInstrumentationStackFrame(uint32_t depth) const; void SanityCheckFrame() const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); |