Lines Matching refs:method
51 // Do we want to deoptimize for method entry and exit listeners or just try to intercept
57 // the events they are listening for. The call backs supply the thread, method and dex_pc the event
63 // Call-back for when a method is entered.
65 ArtMethod* method,
68 // Call-back for when a method is exited.
70 ArtMethod* method, uint32_t dex_pc,
74 // Call-back for when a method is popped due to an exception throw. A method will either cause a
77 ArtMethod* method, uint32_t dex_pc)
80 // Call-back for when the dex pc moves in a method.
82 ArtMethod* method, uint32_t new_dex_pc)
86 virtual void FieldRead(Thread* thread, mirror::Object* this_object, ArtMethod* method,
90 virtual void FieldWritten(Thread* thread, mirror::Object* this_object, ArtMethod* method,
99 ArtMethod* method,
116 // to method entry and exit, it may also force execution to be switched to the interpreter and
180 // Deoptimize a method by forcing its execution with the interpreter. Nevertheless, a static
181 // method (except a class initializer) set to the resolution trampoline will be deoptimized only
183 void Deoptimize(ArtMethod* method)
186 // Undeoptimze the method by restoring its entrypoints. Nevertheless, a static method
189 void Undeoptimize(ArtMethod* method)
192 // Indicates whether the method has been deoptimized so it is executed with the interpreter.
193 bool IsDeoptimized(ArtMethod* method)
196 // Enable method tracing by installing instrumentation entry/exit stubs or interpreter.
204 // Disable method tracing by uninstalling instrumentation entry/exit stubs or interpreter.
226 // Update the code of a method respecting any installed stubs.
227 void UpdateMethodsCode(ArtMethod* method, const void* quick_code)
230 // Update the code of a method respecting any installed stubs from debugger.
231 void UpdateMethodsCodeFromDebugger(ArtMethod* method, const void* quick_code)
234 // Get the quick code for the given method. More efficient than asking the class linker as it
235 // will short-cut to GetCode if instrumentation and static method resolution stubs aren't
237 const void* GetQuickCodeFor(ArtMethod* method, size_t pointer_size) const
256 bool NeedDebugVersionForBootImageCode(ArtMethod* method, const void* code) const
314 // Inform listeners that a method has been entered. A dex PC is provided as we may install
315 // listeners into executing code and get method enter events for methods already on the stack.
317 ArtMethod* method, uint32_t dex_pc) const
320 MethodEnterEventImpl(thread, this_object, method, dex_pc);
324 // Inform listeners that a method has been exited.
326 ArtMethod* method, uint32_t dex_pc,
330 MethodExitEventImpl(thread, this_object, method, dex_pc, return_value);
334 // Inform listeners that a method has been exited due to an exception.
336 ArtMethod* method, uint32_t dex_pc) const
341 ArtMethod* method, uint32_t dex_pc) const
344 DexPcMovedEventImpl(thread, this_object, method, dex_pc);
349 void Branch(Thread* thread, ArtMethod* method, uint32_t dex_pc, int32_t offset) const
352 BranchImpl(thread, method, dex_pc, offset);
358 ArtMethod* method, uint32_t dex_pc,
362 FieldReadEventImpl(thread, this_object, method, dex_pc, field);
368 ArtMethod* method, uint32_t dex_pc,
372 FieldWriteEventImpl(thread, this_object, method, dex_pc, field, field_value);
391 // Called when an instrumented method is entered. The intended link register (lr) is saved so
392 // that returning causes a branch to the method exit stub. Generates method enter events.
394 ArtMethod* method, uintptr_t lr,
398 // Called when an instrumented method is exited. Removes the pushed instrumentation frame
399 // returning the intended link register. Generates method exit events.
412 void InstallStubsForMethod(ArtMethod* method)
415 // Install instrumentation exit stub on every method of the stack of the given thread.
463 ArtMethod* method, uint32_t dex_pc) const
466 ArtMethod* method,
470 ArtMethod* method, uint32_t dex_pc) const
472 void BranchImpl(Thread* thread, ArtMethod* method, uint32_t dex_pc, int32_t offset) const
481 ArtMethod* method, uint32_t dex_pc,
485 ArtMethod* method, uint32_t dex_pc,
490 bool AddDeoptimizedMethod(ArtMethod* method)
492 bool IsDeoptimizedMethod(ArtMethod* method)
494 bool RemoveDeoptimizedMethod(ArtMethod* method)
500 void UpdateMethodsCodeImpl(ArtMethod* method, const void* quick_code)
519 // Do we have any listeners for method entry events? Short-cut to avoid taking the
523 // Do we have any listeners for method exit events? Short-cut to avoid taking the
527 // Do we have any listeners for method unwind events? Short-cut to avoid taking the
605 InstrumentationStackFrame(mirror::Object* this_object, ArtMethod* method,
607 : this_object_(this_object), method_(method), return_pc_(return_pc), frame_id_(frame_id),