Lines Matching refs:Method
36 (method arguments) and "locals" (local variables). The "outs" (arguments
76 become the parameters to the called method. The VM guarantees that there
78 into a method.
86 We push two stack frames on when calling an interpreted or native method
90 stack might look like an uninterrupted series of interpreted method calls.
91 The second frame is for the method itself.
95 NULL method pointer.
97 When calling a native method from interpreted code, the stack setup is
98 essentially identical to calling an interpreted method. Because it's a
99 native method, though, there are never any "locals" or "outs".
103 and we want to trivially discard them when the method returns. See JNI.c
105 possible to push additional call frames on without calling a method.
133 /* saved program counter (from method in caller's frame) */
136 /* pointer to method we're *currently* executing; handy for exceptions */
137 const Method* method;
171 return SAVEAREA_FROM_FP(fp)->method == NULL;
181 * Push a native method frame directly onto the stack. Used to push the
184 bool dvmPushJNIFrame(Thread* thread, const Method* method);
189 bool dvmPushLocalFrame(Thread* thread, const Method* method);
193 * Call an interpreted method from native code. If this is being called
199 void dvmCallMethod(Thread* self, const Method* method, Object* obj,
201 void dvmCallMethodV(Thread* self, const Method* method, Object* obj,
203 void dvmCallMethodA(Thread* self, const Method* method, Object* obj,
207 * Invoke a method, using the specified arguments and return type, through
212 * "obj" should be null for a static method.
214 * "params" and "returnType" come from the Method object, so we don't have
215 * to re-generate them from the method signature. "returnType" should be
218 Object* dvmInvokeMethod(Object* invokeObj, const Method* meth,
224 * into the specified method. Returns -2 for native methods, -1 if no
227 extern "C" int dvmLineNumFromPC(const Method* method, u4 relPc);
243 * Get the class of the method that called us.
251 * class loader of the method that called it.
259 * class loader of the method that called it.
264 * Fill an array of method pointers representing the current stack
267 void dvmFillStackTraceArray(const void* fp, const Method** array, size_t length);
272 extern "C" void dvmHandleStackOverflow(Thread* self, const Method* method);