Invention Grant
- Patent Title: Method and apparatus for portable stub generation
- Patent Title (中): 用于便携式存根生成的方法和装置
-
Application No.: US11967345Application Date: 2007-12-31
-
Publication No.: US08296745B2Publication Date: 2012-10-23
- Inventor: Douglas N. Simon , Bernd J. W. Mathiske
- Applicant: Douglas N. Simon , Bernd J. W. Mathiske
- Applicant Address: US CA Redwood City
- Assignee: Oracle America, Inc.
- Current Assignee: Oracle America, Inc.
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
Method and apparatus for automatically generating intermediate-level interfaces between program methods written in a platform-independent language and program methods written in a native language. A portable stub generator generates stubs in an intermediate, tokenized internal representation. The stub generator is portable across platforms as the stubs it generates are not platform-specific. In addition, the generated stubs are available to the compiler at intermediate compilation stages rather than at the backend compilation stage, and thus may be optimized together with the rest of the platform-independent code, and also may be inlined. The portable stub generator may be directed at virtual machine environments. An exemplary virtual machine environment in which the stub generator may be implemented is the Java™ Virtual Machine (JVM). In JVMs, Java™ is the platform-independent language, and Java™ bytecode the tokenized internal representation. In a JVM, the stubs may be generated in accordance with Java™ Native Interface (JNI).
Public/Granted literature
- US20090172652A1 Method And Apparatus For Portable Stub Generation Public/Granted day:2009-07-02
Information query