Patent ID: 7992138
Filing Date: 2011-08-02
Classification: G06F

Abstract:
1. A method of executing different JAVA methods, comprising: storing return information which returns execution to a first method in a first stack frame if the first method calls the second method; adding a second stack frame of the second method to a stack; and storing execution information of the second method in the second stack frame, wherein the first stack frame and the second stack frame are each included in the stack in a same format, and if the first method is JAVA native code then the second method is JAVA bytecode and if the first method is JAVA bytecode then the second method is JAVA native code, wherein the first stack frame comprises a field which indicates a current execution position of the first method, a field which indicates a position of a return stack frame which includes information on a return method which calls the first method, and data used to execute the first method, and wherein the field which indicates the current execution position comprises a bytecode program counter and a native code program counter.