Invention Grant
US07665076B2 Method and apparatus for activating/deactivating run-time determined software routines in Java compiled bytecode applications
有权
用于在Java编译的字节码应用程序中激活/停用运行时确定的软件例程的方法和装置
- Patent Title: Method and apparatus for activating/deactivating run-time determined software routines in Java compiled bytecode applications
- Patent Title (中): 用于在Java编译的字节码应用程序中激活/停用运行时确定的软件例程的方法和装置
-
Application No.: US10860412Application Date: 2004-06-03
-
Publication No.: US07665076B2Publication Date: 2010-02-16
- Inventor: Andrew S. Clement , Matthew A. Webster
- Applicant: Andrew S. Clement , Matthew A. Webster
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Greg Goshorn, P.C.
- Agent Jill A. Poimboeuf; Gregory K Goshorn
- Priority: GB0325553.6 20031101
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
Provided is a JIT compiler that changes the status of run-time determined software routines between being activated and deactivated in an application program. Conditional statements which are used at run-time to determine whether such a routine has been activated or deactivated are presented as discrete conditions that always evaluate to a known result by using an invariant flag in the compiled bytecode. The JIT compiler optimises an application program by excluding discrete condition checks. Consequently, if the branch of the discrete condition that will never execute includes a run-time determined software routine, then the routine will be excluded from the JIT compilation and will not form part of the JIT compiled native machine code. A run-time class or code replacement facility is used as a means of activating or deactivating a run-time determined software routine at run-time by changing the value of the invariant flag of said routine.
Public/Granted literature
Information query