Apparatus and method for caching analyzed program information
Abstract
An apparatus and method provide a cache for analyzed program information when no class file can be identified. When loading a class, if there is an identifiable class file for the class, the class file is checked to determine if analyzed program information is attached. If so, the analyzed program information can be directly used without the overhead of analyzing the program information again. If there is no identifiable class file for the class, a cache is checked to see if there is an entry in the cache corresponding to the class. If there is no entry in the cache corresponding to the class, the program information is analyzed and saved in a cache entry for future use. If there is an entry in the cache corresponding to the class, the analyzed program information is retrieved and used, thereby saving the time required to repeatedly analyze the program information.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus comprising: at least one processor; a memory coupled to the at least one processor; and a class processing mechanism residing in the memory and executed by the at least one processor, the class processing mechanism writing a plurality of entries to a cache residing in the memory, each entry including analyzed program information for an object oriented class that has no identifiable corresponding class file when the corresponding object oriented class is loaded; wherein, if a selected class to be loaded has no identifiable corresponding class file, the class processing mechanism de
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (11)
Non-Patent Literature (4)
- Dean et al., "Vortez: an optimizing compiler for object-oriented languages," Oct. 1996, pp. 83-100.
- Lindholm and Yellin, "The Java Virtual Machine Specification," Addison- Wesley, pp. 83-84, (1997).
- Radhakrishnan, "Java Virtual Machine", CiteSeer, University of Kansas, Dept. of Electrical Engineering and Computer Science, pp. 1-37, Dec. 1997.
- Yellin, "The JIT Compiler API," p. 1 (1996), available at ftp://ftp.javasoft.com/jit-interface.ps.