METHOD FOR EXECUTING JAVA VIRTUAL MACHINE INSTRUCTIONS, AND APPARATUS FOR THE SAME
A method and a device for executing instructions of a JVM(Java Virtual Machine) are provided to improve an execution speed of a Java program by performing a pre-computation process for converting a bytecode into the second code using a 16-bit memory element before the JVM interprets the bytecode. A...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method and a device for executing instructions of a JVM(Java Virtual Machine) are provided to improve an execution speed of a Java program by performing a pre-computation process for converting a bytecode into the second code using a 16-bit memory element before the JVM interprets the bytecode. A bytecode extractor(420) extracts the bytecode of the method forming a Java class(410). The second code converter(430) converts the extracted bytecode into the second code. The second code includes information for a position of an operation code handler performing an operation corresponding to an opcode included in the bytecode and uses the 16-bit memory element. An instruction executor(460) executes the second code converted in the second code converter. A linker(440) performs a linking operation for making the second code into a runtime state. An initializer(450) performs initialization to execute the linked second code. |
---|