ABCD
Rastislav Bodík, Rajiv Gupta, Vivek Sarkar · Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation · 2000
To guarantee typesafe execution, Java and other strongly typed languages require bounds checking of array accesses. Because array-bounds checks may raise exceptions, they block code motion of instructions with side effects, thus preventing many useful code optimizations, such as partial redundancy elimination or instruction scheduling of memory operations. Furthermore, because it is not expressible at bytecode level, the elimination of bounds checks can only be performed at run time, after the bytecode program is loaded. Using existing powerful bounds-check optimizers at run time is not feasible, however, because they are too heavyweight for the dynamic compilation setting.
Cited by 234 works. doi:10.1145/349299.349342 Open-access PDF
Authors
References
- Introduction to Algorithms
- Graphs and Hypergraphs
- Efficiently computing static single assignment form and the control dependence graph
- A Fast and Usually Linear Algorithm for Global Flow Analysis
- Optimization of range checking
- Global optimization by suppression of partial redundancies
- Detecting equality of variables in programs
- An Incremental Algorithm for a Generalization of the Shortest-Path Problem
- Deciding Linear Inequalities by Computing Loop Residues
- The design and implementation of a certifying compiler