Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Real-time compiling system self-adapting adjusting and optimizing method

A compiling system and self-adaptive technology, applied in the computer field, can solve problems such as ineffective use of information, impact on interpretation and execution speed, long time, etc., to achieve the effects of reducing overhead, improving efficiency, and solving waste

Inactive Publication Date: 2013-06-05
JIANGNAN INST OF COMPUTING TECH
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the existing just-in-time compilation systems generally have the following defects: on the one hand, the information that just-in-time compilation relies on is monitored and collected when the program is running, but when the program is executed, the information will be discarded directly, and the next time the program is executed When just-in-time compilation needs to re-monitor and collect the information needed for runtime optimization, the previously collected runtime information cannot be effectively used, wasting the opportunity to improve the performance of the existing information
Since just-in-time compilation of native code takes program runtime, it may take longer to compile more optimized code; and to compile more optimized code, the interpreter needs to help the compiler monitor the collection run time information, which also affects the speed of interpretation execution

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
  • Real-time compiling system self-adapting adjusting and optimizing method
  • Real-time compiling system self-adapting adjusting and optimizing method
  • Real-time compiling system self-adapting adjusting and optimizing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the content of the present invention clearer and easier to understand, the content of the present invention will be described in detail below in conjunction with specific embodiments and accompanying drawings.

[0022] The present invention provides a static and dynamic adaptive optimization method. The framework comprehensively considers the "cost-effectiveness" problem of the optimization process of the real-time compilation system and the existing virtual machine adaptive optimization system, and successfully combines the information obtained offline with the information collected online. Combined with the information, it can guide whether the hot program can be optimized in advance, which optimization method to use, when to compile, and whether the short method called needs to be inlined immediately, etc., so that the adaptive optimization system of just-in-time compilation can obtain higher performance. performance.

[0023] Through the dynamic and...

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

The invention provides a real-time compiling system self-adapting adjusting and optimizing method which comprises the following steps: providing a resource library which is across application programs and is used repeatedly, wherein information in the resource library is separated to each running instance, and therefore the informations of all running instances in the resource library are not mutually affected; judging if the current running instance needs to gather relevant information of a real-time compiling process in an on-line mode, wherein a real-time compiling system writes in untreated runtime information to the resource library through a runtime information output, and / or reading the runtime information which is run across the application programs from the resource library; statically analyzing the gathered untreated runtime information in an off-line mode in the resource library to form a precalculated online running strategy; reading the precalculated online running strategy which is read and calculated from the resource library through a runtime optimizing strategy; confirming an optimization method of the real-time compiling system according to the precalculated online running strategy; and running application programs in an on-line mode combining an existing self-adapting optimizing system according to the confirmed optimization method.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, the present invention relates to a method for self-adaptive tuning of a just-in-time compilation system. Background technique [0002] In the Java programming language and environment, the just-in-time compilation (just-in-time compiler) system is a system that converts Java bytecode (including the program that needs to be interpreted) into a program that can be sent directly to the processor. program of instructions. When a Java program is written, the source language statements will be compiled into bytecodes by the Java compiler, rather than compiled into instruction codes corresponding to a specific processor hardware platform (for example, Intel's Pentium microprocessor or IBM System / 390 processors). Bytecode is platform-independent code that can be shipped to any platform and run on that platform. [0003] Just-in-time compilation optimization systems gen...

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/45
Inventor 张海军唐大国郑磊李茜叶俊
Owner JIANGNAN INST OF COMPUTING TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products