Selective speculative class-based optimization
Abstract
A method, apparatus, and/or computer program product performs selective speculative class-based optimization through the use of a type propagation analysis of class. Responsive to a determination that the type of class is not a fixed type, a determination is made as to whether the class is sub-classed. Responsive to a determination the class is not sub-classed, a virtual synthetic property method is created. The virtual synthetic property method is accommodated in an enhanced java virtual machine using a stack frame type. The stack frame type has associated metadata for throwing an exception and an invisibility property. The virtual synthetic property method, along with a virtual guard, is inlined, and a slow path is created. The slow path handles executions of the virtual synthetic property method when sub-classes of the class, which override an implementation of the virtual synthetic property method, are loaded in the future.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer program product for selective speculative class-based optimization, the computer program product comprising: a non-transitory computer readable storage medium having encoded thereon: computer executable program code for performing a type propagation analysis of a class by a just in time compiler; computer executable program code for determining by the just in time compiler whether a type of the class is a fixed type; computer executable program code for in response to a determination that the type of the class is not a fixed type, determining by the just in time compiler whether the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,324,741 B2 | Speeding up dynamic language execution on a virtual machine with type speculation | 2019 | 10 |
References Cited — Backward Prior Art (22)
Non-Patent Literature (4)
- G. Klein, et al., "Verified Lightweight Bytecode Verification", Formal Techniques for Java Programs, Technical Report 269, Fernuniversitat Hagen, 2000, pp. 1-7.
- O. Anderson et al., "Checked Load: Architectural Support for Javascript Type-Checking on Mobile Processors", 17th International Conference on High-Performance Computer Architecture (HPCA-17 2011), Feb. 12-16, 2011, San Antonio, Texas, USA. IEEE Computer Society 2011, pp. 419-430.
- U.S. Appl. No. 14/200,239-Non-Final Office Action mailed Apr. 17, 2015.
- Y. Oiwa, "Extending Java Virtual Machine to Improve Performance of Dynamically-Typed Languages", Senior Thesis, Dept. of Information Science, University of Tokyo, Feb. 16, 1999, pp. 1-26.