Invention Grant
- Patent Title: Method and apparatus for native method calls
- Patent Title (中): 用于本地方法调用的方法和装置
-
Application No.: US12689300Application Date: 2010-01-19
-
Publication No.: US08527944B2Publication Date: 2013-09-03
- Inventor: Qiming Teng , Feng Wang , Haichuan Wang , Xiao Zhong
- Applicant: Qiming Teng , Feng Wang , Haichuan Wang , Xiao Zhong
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Ido Tuchman; E. Dwayne Nelson
- Priority: CN200910003244 20090121
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
A method and apparatus for a native method call. The method comprises: generating, in response to a native method call-associated event, a template copy from a generic template for processing the native method call; filling information required for processing the native method call in corresponding locations in the template copy; and changing a code execution flow to execute the template copy. When a native method is called, the native method is processed by dynamically inserting the template copy in the execution path at the assembly level.
Public/Granted literature
- US20100186001A1 METHOD AND APPARATUS FOR NATIVE METHOD CALLS Public/Granted day:2010-07-22
Information query