Patent ID: 8561042
Filing Date: 2013-10-15
Classification: G06F

Abstract:
1. A system which reduces the bytecode execution time in a Java virtual machine, the system comprising: a database (DB) cache which stores old machine code converted from a bytecode; a machine code change unit which changes the old machine code to new machine code by removing a predetermined instruction included therein, and checks a status of a register file based on information on the old machine code; a register management unit which manages stack data for operations of the new machine code and the register file to provide a register region to conduct the operations based on the result of checking the status of the register file; and a machine code information storage unit which stores basic block information on the new machine code and spill and fill execution information in a stack of the register file, wherein the predetermined instruction removed by the machine code change unit is a pop or a push machine code instruction, wherein operations are conducted on the new machine code using only stack data stored in the register file without accessing a memory; wherein the bytecode is retrieved from a memory used in the Java virtual machine; wherein an upper portion of a stack region of the memory is stored into the stack of the register file, and wherein the old machine code is changed by executing a spill or fill operation of the stack of the register file.