Basic HTML version of Foils prepared Jan 12 1997

Foil 14 Exceptions: Possible Solutions

From Optimizing Java Java for CSE Meeting -- Dec 16 1996. by Zoran Budimlic


determine instructions that will not cause exceptions
  • similar to type analysis
  • restrict the performed optimizations
  • cheat if you can't get caught!
enclose the whole method code in a try
  • encode the knowledge about performed optimizations in the exception handler
  • similar to optimized code debugging



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Apr 11 1999