Stack operation optimization method in just-in-time compiling system

A technology of compiling system and optimization method, which is applied in the field of stack operation optimization in the real-time compiling system, to achieve the effect of improving execution efficiency and performance

Active Publication Date: 2013-05-15
JIANGNAN INST OF COMPUTING TECH
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] There are a large number of memory access operations in the above stack frame design

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
  • Stack operation optimization method in just-in-time compiling system
  • Stack operation optimization method in just-in-time compiling system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] 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.

[0026] The present invention proposes the concept of a global operand stack. The stack frame structure based on the global operand stack only needs to include two parts, the local variable area and the method information reserved area, and does not include the operand stack. At the same time, the present invention utilizes the vector register file to realize the global operand stack.

[0027] In the prior art, the vector register file is generally not used to implement the global operand stack, because there are several problems in implementing the global operand stack with the vector register file.

[0028] The first is the implementation of the execution engine. Existing execution engines implement method-related operand stacks, and the oper...

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 stack operation optimization method in a just-in-time compiling system. The stack operation optimization method eliminates a local operand stack in a stack frame by adopting a global operand stack consisting of a vector register, thus saving related expenses. The stack operation optimization method introduces a new dimension for a template table of an execution engine, and the new dimension is used for indicating the position of the top of the operand stack in a file of the vector register; the stack operation optimization method assigns a register which is used for indicating an address of the top of the operand stack in an overflow area; and when each Java thread is initialized, the stack operation optimization method assigns page storage overflow data for the operand stack in the overflow area, and records a tail address of the overflow page in thread local cache.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, the present invention relates to a stack operation optimization method in a just-in-time compilation system. Background technique [0002] In the Java programming language and environment, the just-in-time compiler (JIT compiler, just-in-time compiler) system is a system that converts Java bytecode (including programs that need to be interpreted) into instructions that can be sent directly to the processor program of. 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] In existing just-in-time compilation systems, the...

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
IPC IPC(8): G06F9/45G06F9/455
Inventor 叶俊漆锋滨唐大国杨小川张海军
Owner JIANGNAN INST OF COMPUTING TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products