Patent ID: 8341606

Claim:
A method of invoking an inlined method for improving the efficiency of carrying out methods in a computing environment, the method comprising: if a first method is invoked, generating a first frame comprising information that is used for an execution of the first method; and if a second method that satisfies a predetermined condition is invoked, executing the second method using the first frame and without generating a second frame for the second method; wherein the first frame comprises a program counter which indicates a location of a bytecode currently being executed, and an operand stack which is to be used by the method currently being executed; and wherein an execution of the second method comprises: setting the program counter to a location of a first bytecode of the second method without moving a top of the operand stack; and storing location information of a bytecode following a bytecode that has invoked the second method, as a return address; wherein the second method is an inlined method that is invoked by the first method and does not invoke any method.