diff options
author | Sebastien Hertz <shertz@google.com> | 2013-11-19 10:00:29 +0100 |
---|---|---|
committer | Sebastien Hertz <shertz@google.com> | 2013-11-19 10:06:03 +0100 |
commit | 51db44a194bafc3810a41164a8b39614f10e79df (patch) | |
tree | c5a02ad6cafe66b10f98957cb17db469fb008ede /runtime/trace.h | |
parent | 03aca12cc4b15a4d2fe1c6acbcb1d62b2baa9eb4 (diff) | |
download | art-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/trace.h')
-rw-r--r-- | runtime/trace.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/trace.h b/runtime/trace.h index ffcb36d..9be015a 100644 --- a/runtime/trace.h +++ b/runtime/trace.h @@ -79,7 +79,8 @@ class Trace : public instrumentation::InstrumentationListener { const mirror::ArtMethod* method, uint32_t dex_pc, const JValue& return_value) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); - virtual void MethodUnwind(Thread* thread, const mirror::ArtMethod* method, uint32_t dex_pc) + virtual void MethodUnwind(Thread* thread, mirror::Object* this_object, + const mirror::ArtMethod* method, uint32_t dex_pc) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); virtual void DexPcMoved(Thread* thread, mirror::Object* this_object, const mirror::ArtMethod* method, uint32_t new_dex_pc) |