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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 