Patent ID: 6654778
Filing Date: 2003-11-25
Classification: G06F

Abstract:
A process in a computer for processing a method that includes a plurality of bytecodes and that performs a function, the process comprising the computer implemented steps of:determining whether the method is to be executed normally when the method is loaded; and responsive to an absence of a determination that the method is a method to be executed normally, associating instructions native to the computer with the method, wherein the instructions perform the unction each time the method is called, wherein a method block is assigned to the method and includes a pointer to an invoker, and wherein the step of associating includes: changing the pointer to point to the instructions native to the computer; responsive to an invocation of the method, executing the method; responsive to a completion of execution of the method, determining whether the plurality of bytecodes match a template; and responsive to the plurality of bytecodes matching the template, assigning to the method the instructions native to the computer, based on the template, wherein the instructions are assigned in place of the invoker.