Java bytecode translation method and Java interpreter performing the same
AssigneeSamsung Electronics Co., Ltd.
InventorSeung-bum Chung
Life of this patent
Estimating the term…
Abstract
A Java bytecode translation method and a Java interpreter performing the Java bytecode translation method are provided. The Java bytecode translation method includes extracting a number of successive Java bytecodes from a Java class, determining whether the extracted successive Java bytecodes are successive field access bytecodes for accessing a field in the Java class and translating the extracted successive Java bytecodes into predefined bytecode if the extracted successive Java bytecodes are determined to be the successive field access bytecodes, and executing the predefined bytecode.
Claims18
A Java bytecode translation method comprising:
- extracting a number of successive Java bytecodes from a Java class;
- determining whether the extracted successive Java bytecodes are successive field access bytecodes for accessing a field in the Java class and translating the extracted successive Java bytecodes into a predefined bytecode if the extracted successive Java bytecodes are determined to be the successive field access bytecodes;
- and
- executing the predefined bytecode.
A Java interpreter comprising:
- a bytecode processing module which extracts a number of successive Java bytecodes from a Java class;
- a bytecode translation module which determines whether the extracted successive Java bytecodes are successive field access bytecodes for accessing a field in the Java class and translates the extracted successive Java bytecodes into predefined bytecode if the extracted successive Java bytecodes are determined to be the successive field access bytecodes;
- and
- a bytecode execution module which executes the predefined bytecode.
Dependencies are inferred from the claim text.