methodHandle* method, JavaCallArguments* args, TRAPS
All calls to Java have to go via JavaCalls. Sets up the stack frame
// and makes sure that the last_Java_frame pointers are chained correctly.
class
JavaCalls: AllStatic {
static
void
call_helper(JavaValue* result, methodHandle* method, JavaCallArguments* args, TRAPS);
public
:
// Optimized Constuctor call
static
void
call_default_constructor(JavaThread* thread, methodHandle method, Handle receiver, TRAPS);
// call_special
// ------------
// The receiver must be first oop in argument list
// receiver表示方法的接收者,如A.main()呼叫中,A就是方法的接收者
static
void
call_special(JavaValue* result, KlassHandle klass, Symbol* name,Symbol* signature, JavaCallArguments* args, TRAPS);
static
void
call_special(JavaValue* result, Handle receiver, KlassHandle klass,Symbol* name, Symbol* signature, TRAPS);
// No args
static
void
call_special(JavaValue* result, Handle receiver, KlassHandle klass,Symbol* name, Symbol* signature, Handle arg1, TRAPS);
static
void
call_special(JavaValue* result, Handle receiver, KlassHandle klass,Symbol* name, Symbol* signatur
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69929371/viewspace-2890686/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MethodHandle
- 安裝redis cluster時:undefined method `invoke_with_build_args' for nil:NilClassRedisUndefinedUI
- python不定長函式:*args 和 **args的使用Python函式
- python 中 os.fork() 與 os.waitpid(pid,*args, **args) 說明PythonAI
- python中*args的使用Python
- Python 擴充之 *args & **kwargsPython
- 如何理解 new (...args: any[]) => any
- Numerical Results of RhDYas CG method and RhLHas CG method
- Kernel Method
- Swizzling Method
- Greedy Method
- 在Jinja巨集裡使用*args和**kwargs
- Python可變引數*args和**kwargsPython
- Two Pointer Method
- Python 中的 *args 和 **kwargs 是什麼Python
- 【Flask】關於request.json /.values /.args /.formFlaskJSONORM
- IllegalArgumentException: Invalid character found in method name. HTTP method names must be tokensExceptionHTTP
- [vue] computed 和 methodVue
- Go語言之methodGo
- what is the Mixin method in Python?Python
- Java中main方法引數String[ ] args的使用JavaAI
- 工廠方法(Factory Method)
- method.invoke(...)反射點反射
- form&method【POST~GET】ORM
- The House of Mind (FASTBIN METHOD) PRIMEAST
- Runtime-(六)Method-Swizzling
- Attribute GetCustomAttribute via method info of type
- Swift 5 之後 "Method Swizzling"?Swift
- Vagrant : SSH auth method: private key
- Method ReflectionParameter::getClass() 解決方法
- Python 中的可變引數: 什麼是*args和**kwargs?Python
- MoreType – new method to build data in RecyclerView with Kotlin!UIViewKotlin
- java 反射之操作靜態MethodJava反射
- android DDMS method profiling 工具使用分析Android
- 11 replace-method標籤使用
- 10 lookup-method標籤使用
- 反射--Class物件功能--獲取Method反射物件
- function和bound method的區別Function