CODE REASSIGNMENT APPARATUS AND METHOD FOR VIRTUAL MACHINE
摘要
<p>PURPOSE: A code relocation apparatus for a virtual machine and a method thereof are provided to remove a related jump instruction caused by relocation of a machine code stored in a code cache, thereby improving execution performance of the machine code. CONSTITUTION: A information collecting unit(201) collects code information indicating a relation of a machine code and a byte code. A code arranging unit(202) relocates the machine code stored in a code cache by using the code information. The code information includes location information, indicating a location where the machine code is stored in the cord cache on, and trace information about the byte code which is a standard of the machine code. The cord arranging unit confirms a logical execution procedure from the trace information and relocates the location of the machine code in the code cache according to the execution procedure.</p>