summaryrefslogtreecommitdiffstats
path: root/runtime/instrumentation.h
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2013-11-19 10:00:29 +0100
committerSebastien Hertz <shertz@google.com>2013-11-19 10:06:03 +0100
commit51db44a194bafc3810a41164a8b39614f10e79df (patch)
treec5a02ad6cafe66b10f98957cb17db469fb008ede /runtime/instrumentation.h
parent03aca12cc4b15a4d2fe1c6acbcb1d62b2baa9eb4 (diff)
downloadart-51db44a194bafc3810a41164a8b39614f10e79df.zip
art-51db44a194bafc3810a41164a8b39614f10e79df.tar.gz
art-51db44a194bafc3810a41164a8b39614f10e79df.tar.bz2
Propagate 'this_object' for method unwind event.
Propagates the 'this_object' to InstrumentationListener::MethodUnwind callback. Change-Id: I12561f1a611b8399b94e669f9b8a6eaaf1a58631
Diffstat (limited to 'runtime/instrumentation.h')
-rw-r--r--runtime/instrumentation.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/instrumentation.h b/runtime/instrumentation.h
index 25a4eec..6b290f6 100644
--- a/runtime/instrumentation.h
+++ b/runtime/instrumentation.h
@@ -68,8 +68,9 @@ struct InstrumentationListener {
// Call-back for when a method is popped due to an exception throw. A method will either cause a
// MethodExited call-back or a MethodUnwind call-back when its activation is removed.
- virtual void MethodUnwind(Thread* thread, const mirror::ArtMethod* method,
- uint32_t dex_pc) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) = 0;
+ virtual void MethodUnwind(Thread* thread, mirror::Object* this_object,
+ const mirror::ArtMethod* method, uint32_t dex_pc)
+ SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) = 0;
// Call-back for when the dex pc moves in a method.
virtual void DexPcMoved(Thread* thread, mirror::Object* this_object,