Method, apparatus and computer program for executing a program
Abstract
There is provided a method for executing a program comprising a function call and one or more subsequent instructions. The method comprises processing, on a first thread, a function defined by the function call, the function having one or more programmer predefined typical return values. For each predefined return value, the one or more subsequent instructions are pre-processed on an additional thread assuming that the function returned that pre-defined return value. In this way the processor, on completion of processing said function is able to make use of the pre-processing completed by the additional thread which used the actual return value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus for executing a program comprising a function call and one or more subsequent instructions, the apparatus comprising: means for processing, on a first thread, a function defined by the function call, the function having at least two predefined typical return values; means for pre-processing for each predefined return value, on an additional thread, the one or more subsequent instructions which are associated with a given predefined return value, wherein said pre-processing is performed concurrent with the processing of the first thread; and, means, responsive to completion of the
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)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2011320878 A1 | Parametric Trace Slicing | — | 12 |
| US 8,719,796 B2 | Parametric trace slicing | 2014 | 9 |
References Cited — Backward Prior Art (26)
Non-Patent Literature (5)
- Aamodt et al., "The Predictability of Computations that Product Unpredictable Outcomes", Dec. 2001, pp. 23-34.
- Cui et al., "Parallel replacement mechanism for multithread", IEEE, 1997, pp. 338-344.
- Li et al., "A framework of reachability testing for Java multithread programs", IEEE, 2004, pp. 2730-2734.
- Manson et al., "Core semantics of multithread Java", ACM JAVA, 2001, pp. 29-38.
- Matsuzaki et al., "A multithread processer architecture based on the continuation model", IEEE IWIA, 2005, pp. 1-8.