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

Dynamical compilation method based on register mapping

A dynamic compilation and register technology, applied in memory systems, instruments, program control design, etc., can solve the problem of lack of Java bytecode dynamic compilation technology, and achieve the effect of reducing compilation burden, improving compilation performance, and improving performance.

Inactive Publication Date: 2011-11-09
FUDAN UNIV
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to propose a novel dynamic compilation method for the lack of a set of dynamic compilation technology for register-based Java bytecode in current Java compilation technology

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
  • Dynamical compilation method based on register mapping
  • Dynamical compilation method based on register mapping
  • Dynamical compilation method based on register mapping

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention designs and realizes the above-mentioned dynamic compilation technology based on register mapping, and this section makes a detailed introduction to the specific implementation of the framework. The implementation works with the ARM platform, dynamically compiling the Google-designed DEX bytecode (the most popular bytecode for register-based designs).

[0036] When compiling DEX bytecode, the dynamic compilation method based on register mapping is performed according to the following algorithm:

[0037] The process of the algorithm is as follows:

[0038] Begin

[0039] (1) for Each TargetMethod executed at runtime do

[0040] (2) if Check the status bit of TargetMethod, TargetMethod has been compiled and generated

[0041] (3) Directly return and jump to the first address of the compiled code

[0042] (4) end if

[0043] (5) if Check the status bit of TargetMethod, TargetMethod is being compiled

[0044] (6) Return after the...

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 belongs to the technical field of Java compilation runtime environment design, specifically, is a dynamical compilation method based on register mapping. The method comprises the following steps of: in a dynamic compilation stage, based on the characteristic that a RISC processor has a large number of registers, taking a function as granularity, and binding a virtual register and a physical register used in Java byte codes based on the register by one-to-one mapping; and directly generating local codes through dynamical compilation. The method finishes the Java program compilation work through the register mapping technology, and has optimal dynamical compilation effect.

Description

technical field [0001] The invention belongs to the technical field of Java compiling and running environment design, and in particular relates to a dynamic compiling method of a Java dynamic compiler. Background technique [0002] As the most widely used object-oriented programming language at present, Java language is widely used in the development of embedded system application platform because of its unique portability. However, due to the limited hardware resources of the embedded platform, how to make the Java program more efficient has become a key problem to be solved urgently for the Java virtual machine on the embedded platform. [0003] At present, Java programs mainly run in two modes in embedded systems: interpreter execution mode and just-in-time compilation execution mode. In embedded systems, although the interpreter execution mode has the advantages of simple implementation and good cross-platform performance, its execution efficiency is very low. Although...

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 FUDAN UNIV