Method and apparatus for code optimization
Abstract
A system comprising a compiler that compiles source-level code to generate an intermediate-level instruction comprising a predetermined component. The intermediate-level instruction is an at least partially optimized version of the source-level code. Execution of the predetermined component triggers the execution of a series of instructions that, when executed, generates previously-unavailable data that is used to re-generate the intermediate-level instruction. The re-generated intermediate-level instruction has a length less than or equal to that of the intermediate-level instruction.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 2.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A system, comprising: a processor; and a compiler configured to execute on the processor to compile Java source code for execution on the processor, wherein the compiler generates a sing intermediate instruction optimizable to a single native instruction at runtime and replaces the single intermediate instruction with a single native rewrite instruction comprising a rewrite operation code, wherein execution of the single native rewrite instruction by the processor rewrites the single native rewrite instruction into the single native instruction, and wherein the single intermediate instruction
- Claim 2Depends on #1
The system of claim 1 , wherein execution of the single native rewrite inst
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- Calder, et al., "Value Profiling and Optimization", Journal of Instruction-Level Parallelism, Mar. 1999, pp. 1-33.
- Childers, et al., "Continuous Compilation: A New Approach to Aggressive and Adaptive Code Transformation", Proceedings of the International Parallel and Distributed Processing Symposium, 2003, pp. 1-10.
- Lee, et al., "A Declarative Approach to Run-Time Code Generation"; Carnegie Mellon University, 1996.
- Leone, et al., "Lightweight Run-Time Code Generation"; ACM SIGPLAN, 1994.
- Yeung et al., "Dynamic Instrumentation for Java Using a Virtual JVM", Imperial College, UK, 2002.