Patent ID: 6996813
Filing Date: 2006-02-07
Classification: G06F

Abstract:
1. A method of executing computer instructions by a virtual machine that includes an interpreter, the method comprising: receiving a single stream of Bytecode instructions in a class file for execution by the virtual machine; converting, at load time prior to execution time, the single stream of Bytecode instructions into a pair of streams in the virtual machine, wherein the pair of streams includes a code stream and a data stream, wherein the code stream includes only virtual machine commands, wherein the data stream includes only data associated with virtual machine commands stored in the code stream, and wherein said converting further comprises: fetching, by the interpreter at execution time, the first command from the code stream in the virtual machine; determining, by the interpreter at execution time, whether the first command has an associated data parameter value in the data stream; fetching, by the interpreter at execution time, from the data stream in the virtual machine the associated at least one data parameter value when said determining determines that the first command has an associated data parameter value; and executing by said interpreter at execution time the first command with the at least one data parameter value when said determining determines that the first command has an associated data parameter value thereby executing the first command without processing the constant pool at execution time in order to determine the at least one data parameter value needed to execute the first command.