System and method for shortening compiling time of byte codes in java program
AssigneeSamsung Electronics Co., Ltd.
InventorsJunggyu Park, Hyojung Song
Life of this patent
Estimating the term…
Abstract
A system and method are provided in which relevant byte codes that are frequently used upon execution of a Java program are compiled to corresponding native codes and the resultant native codes are stored so that the native codes for the relevant byte codes are retrieved and executed upon future execution of the Java program, thereby shortening the time required for generating the native codes by compiling the byte codes.
Claims15
A system for shortening the compiling time of byte codes in a Java program, comprising:
- a class loader unit for loading byte codes generated by compiling Java program source codes;
- a first memory unit for maintaining the byte codes loaded by the class loader unit and native codes generated by compiling the byte codes in an accessible state;
- a second memory unit for storing the native codes that are loaded into the first memory unit in the accessible state;
- a native code manager unit for searching the native codes stored in the second memory unit and loading requested native codes into the first memory unit according to a request by a class loader unit;
- and
- an execution unit for executing the native codes that are loaded into the first memory unit in the accessible state.
A method for shortening the compiling time of byte codes in a Java program, comprising the steps of:
- (a1) loading compiled byte codes by a class loader unit;
- (a2) requesting a native code manager unit to search native codes corresponding to the loaded byte codes;
- (a3) searching for the requested native codes in a second memory unit;
- (a4) transmitting the requested native codes to a first memory unit;
- and
- (a5) executing the transmitted native codes by a code execution unit.
Dependencies are inferred from the claim text.