摘要 |
PROBLEM TO BE SOLVED: To quicken a method call in an object-oriented environment such as a Java virtual machine. SOLUTION: Implementation of this invention provides a patch-based mechanism giving a high-speed call for a target method from a compiled call operating method. A code to the call operating method is stored in a storage part. The code to the call operating method has an instruction for calling the target method, and the instruction has a parameter. In response to a status change experienced by the target method from a current status to a new status, the parameter is modified from a first value to a second value, which represents a correct address for facilitating execution of the target method in the new status. Therefore, the parameter in the instruction for calling the target method always reflects a correct status of the target method, and consequently, the target method is called at a high speed when the instruction is executed. COPYRIGHT: (C)2007,JPO&INPIT
|