Home | History | Annotate | Download | only in runtime

Lines Matching refs:method

54 // the events they are listening for. The call backs supply the thread, method and dex_pc the event
60 // Call-back for when a method is entered.
62 mirror::ArtMethod* method,
65 // Call-back for when a method is exited.
69 mirror::ArtMethod* method, uint32_t dex_pc,
73 // Call-back for when a method is popped due to an exception throw. A method will either cause a
76 mirror::ArtMethod* method, uint32_t dex_pc)
79 // Call-back for when the dex pc moves in a method.
81 mirror::ArtMethod* method, uint32_t new_dex_pc)
85 virtual void FieldRead(Thread* thread, mirror::Object* this_object, mirror::ArtMethod* method,
89 virtual void FieldWritten(Thread* thread, mirror::Object* this_object, mirror::ArtMethod* method,
101 // to method entry and exit, it may also force execution to be switched to the interpreter and
152 // Deoptimize a method by forcing its execution with the interpreter. Nevertheless, a static
153 // method (except a class initializer) set to the resolution trampoline will be deoptimized only
155 void Deoptimize(mirror::ArtMethod* method)
159 // Undeoptimze the method by restoring its entrypoints. Nevertheless, a static method
162 void Undeoptimize(mirror::ArtMethod* method)
166 bool IsDeoptimized(mirror::ArtMethod* method)
170 // Enable method tracing by installing instrumentation entry/exit stubs.
175 // Disable method tracing by uninstalling instrumentation entry/exit stubs.
195 // Update the code of a method respecting any installed stubs.
196 void UpdateMethodsCode(mirror::ArtMethod* method, const void* quick_code,
200 // Get the quick code for the given method. More efficient than asking the class linker as it
201 // will short-cut to GetCode if instrumentation and static method resolution stubs aren't
203 const void* GetQuickCodeFor(mirror::ArtMethod* method) const
258 // Inform listeners that a method has been entered. A dex PC is provided as we may install
259 // listeners into executing code and get method enter events for methods already on the stack.
261 mirror::ArtMethod* method, uint32_t dex_pc) const
264 MethodEnterEventImpl(thread, this_object, method, dex_pc);
268 // Inform listeners that a method has been exited.
270 mirror::ArtMethod* method, uint32_t dex_pc,
274 MethodExitEventImpl(thread, this_object, method, dex_pc, return_value);
278 // Inform listeners that a method has been exited due to an exception.
280 mirror::ArtMethod* method, uint32_t dex_pc) const
285 mirror::ArtMethod* method, uint32_t dex_pc) const
288 DexPcMovedEventImpl(thread, this_object, method, dex_pc);
294 mirror::ArtMethod* method, uint32_t dex_pc,
298 FieldReadEventImpl(thread, this_object, method, dex_pc, field);
304 mirror::ArtMethod* method, uint32_t dex_pc,
308 FieldWriteEventImpl(thread, this_object, method, dex_pc, field, field_value);
318 // Called when an instrumented method is entered. The intended link register (lr) is saved so
319 // that returning causes a branch to the method exit stub. Generates method enter events.
321 mirror::ArtMethod* method, uintptr_t lr,
325 // Called when an instrumented method is exited. Removes the pushed instrumentation frame
326 // returning the intended link register. Generates method exit events.
338 void InstallStubsForMethod(mirror::ArtMethod* method)
360 mirror::ArtMethod* method, uint32_t dex_pc) const
363 mirror::ArtMethod* method,
367 mirror::ArtMethod* method, uint32_t dex_pc) const
370 mirror::ArtMethod* method, uint32_t dex_pc,
374 mirror::ArtMethod* method, uint32_t dex_pc,
379 bool AddDeoptimizedMethod(mirror::ArtMethod* method)
382 bool FindDeoptimizedMethod(mirror::ArtMethod* method)
385 bool RemoveDeoptimizedMethod(mirror::ArtMethod* method)
410 // Do we have any listeners for method entry events? Short-cut to avoid taking the
414 // Do we have any listeners for method exit events? Short-cut to avoid taking the
418 // Do we have any listeners for method unwind events? Short-cut to avoid taking the
470 InstrumentationStackFrame(mirror::Object* this_object, mirror::ArtMethod* method,
472 : this_object_(this_object), method_(method), return_pc_(return_pc), frame_id_(frame_id),