Unlock instant, AI-driven research and patent intelligence for your innovation.

System and method for shortening compiling time of byte codes in java program

A technology of byte code and compilation time, which is applied in the direction of memory system, program control design, program control device, etc., and can solve problems such as repeated generation of native code, battery consumption, and increased system response time

Inactive Publication Date: 2004-09-01
SAMSUNG ELECTRONICS CO LTD
View PDF1 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the problem here is that once the memory is lacking, the native code generated during the byte code execution will be collected by the garbage collector, and since all the native code is deleted after the Java program is fully executed, and cannot be reused in future executions
[0006] Since most of the byte code that was once compiled to native code tends to be recompiled for future runs, the problem here is that removing the native code causes duplication of the native code used in future runs
Therefore, in a system such as a mobile terminal having a low-performance CPU and a low-capacity battery, the conventional method has problems in that the response time of the system increases and the battery is rapidly consumed.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • System and method for shortening compiling time of byte codes in java program
  • System and method for shortening compiling time of byte codes in java program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] In the following, illustrative, non-limiting embodiments of the present invention will be described in detail with reference to the accompanying drawings.

[0015] figure 1 is a block diagram schematically illustrating an example system for reducing compilation time of byte code in a Java program. The system includes: a class loading unit 100 ; a first memory unit 200 ; a native code manager unit 300 ; a second memory unit 400 ; an execution unit 500 and a garbage collection unit 600 .

[0016] The class loader unit 100 loads byte codes generated by compiling Java program source codes. Here, the byte code originally located in the auxiliary memory unit is loaded in the Java virtual machine.

[0017] The first memory unit 200 holds bytecodes loaded by the class loader unit 100 and native codes generated by compiling the bytecodes in an accessible state. That is, the bytecode loaded by the class loader unit 100 and the native code generated by compiling the bytecode ar...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

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.

Description

[0001] This application claims priority from Korean Patent Application No. 10-2003-0011366 filed in the Korean Intellectual Property Office on February 24, 2003, the disclosure of which is incorporated herein by reference in its entirety. technical field [0002] The present invention relates to a system and method for shortening the compilation time of byte codes in Java (Java) programs, and in particular to a system and method for shortening the compilation time of byte codes in Java programs, wherein when Byte codes frequently used when executing a Java program are compiled, and when the Java program is used in the future, the resulting native code is retrieved and run, thereby shortening the compilation time of the native code. Background technique [0003] Generally speaking, the byte code produced by the compilation process of Java program source code is executed by a Java Virtual Machine (JVM). Recently, in order to enha...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/45G06F9/44
CPCG06F9/45516G06F8/40
Inventor 朴正圭宋孝晶
Owner SAMSUNG ELECTRONICS CO LTD