Patents
US 7,076,773 B2#2289166 Most CitedExpiredUnited States (USPTO)Utility

Object oriented apparatus and method for allocating objects on an invocation stack in a dynamic compilation environment

30Forward Citations (#2289166 Global)
1.5/yrCitation Velocity (#3419104 Global)
3.92Citation PageRank (#4920144 Global)
5Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

An object oriented mechanism and method allow allocating Java objects on a method's invocation stack in a dynamic compilation environment under certain conditions. When a class is dynamically compiled by a just-in-time (JIT) compiler (as the program runs), one or more of its methods may create objects that may be placed on the method's invocation stack. During the compilation of the class, only the information relating to the previously-loaded classes is taken into account. After compilation, as each new class is loaded, the class is analyzed to see if loading the class might change the analysis used to allocate objects on the invocation stacks of previously-compiled methods. If so, the previous object allocations are analyzed in light of the object reference(s) in the newly loaded class, and the previous object allocations are changed from the invocation stack to the heap, if required. In this manner objects may be allocated to a method's invocation stack based on information that is available from the classes that have been loaded, and can then be changed to be allocated from the heap if information in new classes shows that the previous decision (to allocate on the i

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 30.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    An apparatus comprising: at least one processor; a memory coupled to the at least one processor; an object oriented program residing in the memory comprising a plurality of instructions; and a dynamic compiler residing in the memory and executed by the at least one processor, the dynamic compiler being invoked during execution of the object oriented program, the dynamic compiler allocating at least one object in the object oriented program to an invocation stack frame for a method that allocates the at least one object, the dynamic compiler comprising: an escape analysis mechanism that marks e

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • Alpern et al., "Implementing Jalapeno in Java"; IBM Research, New York; pp. 1-11.
  • Alpern et al., "Jalapeno-A Compiler-Supported Java Virtual Machine for Servers"; IBM Research; pp. 1-11.
  • Alpern et al., "The Jalapeno Virtual Machine"; IBM Systems Journal, vol. 39, No. 1, Feb. 2000; pp. 211-238.
  • Blanchet, "Escape Analysis: Correctness Proof, Implmentation and Experimental Results"; ACM 1998; pp. 25-37.
  • Burke et al.; "The Jalapeno Dynamic Optimizing Compiler for Java"; JAVA'99, ACM, 1999; pp. 129-141.