Patents
US 8,024,716 B2#43148652 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for code optimization

2Forward Citations (#43148652 Global)
0.1/yrCitation Velocity (#41813858 Global)
0.94Citation PageRank (#45590210 Global)
22Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

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)

  1. 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

  2. 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)

PatentTitleYearCitations
US 5,774,737 AVariable word length very long instruction word instruction processor with word length register or instruction number register199832
US 5,842,017 AMethod and apparatus for forming a translation unit1998216
US 5,950,007 AMethod for compiling loops containing prefetch instructions that replaces one or more actual prefetches with one virtual prefetch prior to loop scheduling and unrolling199986
US 5,999,732 ATechniques for reducing the cost of dynamic class initialization checks in compiled code199991
US 6,078,744 AMethod and apparatus for improving compiler performance during subsequent compilations of a source program2000107
US 6,081,665 AMethod for efficient soft real-time execution of portable byte code computer programs2000405
US 6,530,075 B1JIT/compiler Java language extensions to enable field performance and serviceability2003108
US 2003093780 A1Annotations to executable images for improved dynamic optimization of functions—62
US 2004024989 A1Mixed stack-based RISC processor—32
US 2004054994 A1System and method for persisting dynamically generated code in a directly addressable and executable storage medium—39
US 2004078550 A1Multi-processor computing system having a JAVA stack machine and a RISC-based processor—10
US 2004083467 A1System and method for executing intermediate code—34
US 6,745,384 B1Anticipatory optimization with composite folding2004154
US 2004221281 A1Compiler apparatus, compiling method, and compiler program—29
US 2004236927 A1Processor system having java accelerator—35
US 2005028132 A1Application specific optimization of interpreters for embedded systems—29
US 7,000,227 B1Iterative optimizing compiler200648
US 7,017,154 B2Eliminating store/restores within hot function prolog/epilogs using volatile registers200615
US 7,146,607 B2Method and system for transparent dynamic optimization in a multiprocessing environment200686
US 7,152,223 B1Methods and systems for compiling and interpreting one or more associations between declarations and implementations in a language neutral fashion200627
US 7,185,330 B1Code optimization method and system200726
US 7,194,736 B2Dynamic division optimization for a just-in-time compiler200713

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.