Fast patch-based method calls
Abstract
A patch-based mechanism is disclosed for providing fast invocations of a target method from a compiled calling method. The code for the calling method is stored into a storage. The code for the calling method comprises an instruction for invoking the target method, where the instruction comprises a parameter. In response to a state change from a current state to a new state that is experienced by the target method, the parameter is modified from a first value to a second value, where the second value indicates the correct address for facilitating the execution of the target method in its new state. Thus, the parameter in the instruction for invoking the target method always reflects the correct state of the target method, which provides for a fast invocation of the target method when the instruction is executed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A machine implemented method, comprising: storing code for a plurality of calling methods into storage, wherein the code for each of the plurality of calling methods comprises an instruction that directly branches execution to a target method based on a parameter specified by the instruction; prior to a state change of the target method, recording an association between the target method and the instruction of each of the plurality of calling methods that directly branches the execution to the target method; in response to the state change from a current state to a new state of the target meth
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 8,768,682 B2 | ISA bridging including support for call to overidding virtual functions | 2014 | 3 |
References Cited — Backward Prior Art (17)
Non-Patent Literature (5)
- Claims, European application No. 07250802.1, 10 pages.
- Debbabi, Mourad, et al., "E-Bunny: A Dynamic Compiler for Embedded Java Virtual Machines", XP-002436057, Journal of Object Technology, vol. 4, No. 1, dated Jan.-Feb. 2005, pp. 81-106.
- European Patent Office, "Communication, European Search Report", European application No. 07250802.1, dated Jun. 18, 2007, 8 pages.
- European Patent Office, "Communication, European Search Report", European application No. 07250802.1, dated Mar. 13, 2008, 2 pages.
- Kazuaki Ishizaki et al., "A Study of Devirtualization Techniques for a Java Just-In-Time Compiler", Conference on Object Oriented Programming Systems Languages and Applications, ACM Oct. 2000, pp. 294-310.