Software tool with modeling of asynchronous program flow
Abstract
A compiler that forms an intermediate representation of a program using a flow graph with less than all possible edges used to model asynchronous transfers within the program. The flow graph is formed in multiple phases. In one phase, the flow graph is formed without modeling asynchronous transfers. In later phases, representations of the effects of the asynchronous transfers are selectively added. As part of the later phases, edges modeling a possible asynchronous transfer are added to the flow graph following definitions in protected regions of variables that are live outside the protected region. A modified definition of live-ness of a variable is used to incorporate use of the variable in any region, including the protected region, following an asynchronous transfer. Edges from the protected region are also added to the model if the only use of the defined variable is in a handler.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of processing a program having a first region from which program execution may be asynchronously transferred to a handler region, the first region being a protected region associated with the handler region, and a second region which is a portion of the first region that is executed only after execution of at least one instruction in the handler region, the method comprising: a) forming a representation of at least the first region, the representation comprising a plurality of a first type constructs, each of the first type constructs representing one or more operations, and at least
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (3)
- "A type system for Java bytecode subroutines", Stata et al., Jan. 1999, pp. 90-137. Online retrieved at .
- "Exception handling in component composition with the support of middleware", Feng et al., Sep. 2005, pp. 90-97. Online retrieved at .
- "Slicing java programs that throw and catch exceptions", Allen et al., Jun. 2003, pp. 44-54. Online retrieved at .