Lines Matching refs:method
42 // the events they are listening for. The call backs supply the thread, method and dex_pc the event
48 // Call-back for when a method is entered.
50 const mirror::ArtMethod* method,
53 // Call-back for when a method is exited.
57 const mirror::ArtMethod* method, uint32_t dex_pc,
61 // Call-back for when a method is popped due to an exception throw. A method will either cause a
63 virtual void MethodUnwind(Thread* thread, const mirror::ArtMethod* method,
66 // Call-back for when the dex pc moves in a method.
68 const mirror::ArtMethod* method, uint32_t new_dex_pc)
80 // to method entry and exit, it may also force execution to be switched to the interpreter and
113 // Update the code of a method respecting any installed stubs.
114 void UpdateMethodsCode(mirror::ArtMethod* method, const void* code) const;
116 // Get the quick code for the given method. More efficient than asking the class linker as it
117 // will short-cut to GetCode if instrumentation and static method resolution stubs aren't
119 const void* GetQuickCodeFor(const mirror::ArtMethod* method) const
152 // Inform listeners that a method has been entered. A dex PC is provided as we may install
153 // listeners into executing code and get method enter events for methods already on the stack.
155 const mirror::ArtMethod* method, uint32_t dex_pc) const
158 MethodEnterEventImpl(thread, this_object, method, dex_pc);
162 // Inform listeners that a method has been exited.
164 const mirror::ArtMethod* method, uint32_t dex_pc,
168 MethodExitEventImpl(thread, this_object, method, dex_pc, return_value);
172 // Inform listeners that a method has been exited due to an exception.
174 const mirror::ArtMethod* method, uint32_t dex_pc) const
179 const mirror::ArtMethod* method, uint32_t dex_pc) const
182 DexPcMovedEventImpl(thread, this_object, method, dex_pc);
192 // Called when an instrumented method is entered. The intended link register (lr) is saved so
193 // that returning causes a branch to the method exit stub. Generates method enter events.
195 mirror::ArtMethod* method, uintptr_t lr,
199 // Called when an instrumented method is exited. Removes the pushed instrumentation frame
200 // returning the intended link register. Generates method exit events.
219 const mirror::ArtMethod* method, uint32_t dex_pc) const
222 const mirror::ArtMethod* method,
226 const mirror::ArtMethod* method, uint32_t dex_pc) const
244 // Do we have any listeners for method entry events? Short-cut to avoid taking the
248 // Do we have any listeners for method exit events? Short-cut to avoid taking the
252 // Do we have any listeners for method unwind events? Short-cut to avoid taking the
275 InstrumentationStackFrame(mirror::Object* this_object, mirror::ArtMethod* method,
277 : this_object_(this_object), method_(method), return_pc_(return_pc), frame_id_(frame_id),