Patent ID: 6988261
Filing Date: 2006-01-17
Classification: G06F

Abstract:
1. A method of generating a Java macro instruction corresponding to one or more Java Bytecode instructions, said method comprising: reading a stream of Java Bytecode instructions; determining, during Bytecode verification, whether two or more Java Bytecode instructions in said Java Bytecode stream can be represented by one instruction; generating, at load time, a Java macro instruction that represents said two or more Java Bytecode instructions when said determining determines that two or more Java Bytecode instructions in said Java Bytecode stream can be represented by one instruction, wherein said Java macro instruction is suitable for execution by a Java virtual machine; generating, at load time, an internal representation of said Java macro instruction in a pair of streams that collectively represent an internal representation of said stream of Java Bytecode instructions in said Java virtual machine, wherein said pair of streams consists of a code stream that is designated to store code associated with said Java macro instruction and a data stream that is designated to store data associated with said Java macro instruction; and wherein when executed, at runtime, said Java macro instruction can operate to perform one or more operations that are performed by said two or more Java Bytecode instructions.