Patents
US 8,631,395 B2#5955425 Most CitedActiveUnited States (USPTO)Utility

Inter-procedural dead catch handler optimizations

16Forward Citations (#5955425 Global)
1.3/yrCitation Velocity (#4292117 Global)
1.88Citation PageRank (#16057131 Global)
19Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Whole program analysis during a link time code generation part of compilation can be used to detect and eliminate dead catch handlers. If all catch handlers of a try clause in a computer program are found to be dead then the try clause can also be eliminated. Detection of dead catches can be automatic, using iterative propagation of the types of thrown exceptions from callee function to caller function from bottom to top in the call-graph and iterative propagation of the types of in-flight exceptions from caller function to callee function from top to bottom in the call-graph.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 16.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A system comprising: at least one processor of a computing device; a memory of the computing device; and at least one module loaded into the memory causing the at least one processor to: for each function in a computer program: receive intermediate representation from a compiler for a function: capture summary information for the function, the summary information comprising: a structure capturing nesting of try and catch statements within the function, the function comprising a plurality of regions; for each region of the plurality of regions of the function, types of exceptions thrown by the

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • "Quick Fix", Retrieved at <<http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/ref-java-editor-quickfix.htm>>, Retrieved Date Jul. 13, 2011, pp. 3.
  • "Tree-SSA passes", Retrieved at <<http://gcc.gnu.org/onlinedocs/gcc-4.2.0/gccint/Tree—002dSSA-passes.html>>, Retrieved Date : Jul. 13, 2011, pp. 8.
  • "Tree-SSA passes", Retrieved at >, Retrieved Date : Jul. 13, 2011, pp. 8.
  • D'Elia et al, "Mining Hot Calling Contexts in Small Space", ACM pp. 516-527, 2011.
  • Fu, et al., "Robustness Testing of Java Server Applications", Retrieved at <<http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=01435351>>, IEEE Transactions on Software Engineering, vol. 31, No. 4, Apr. 2005, pp. 292-311.