'lazyexc' - Java exceptions related optimization

Lazy exceptions optimization pass eliminates redundant creation of exception objects.
In cases when an exception object is not used in the exception handler, time spent on creating the exception object and creating and recording the stack trace in the exception object is wasted.
If the constructor of the exception object has no side effects and the exception object is not used before it is thrown, then the creation of the exception object is delayed until the exception object is really used.

header file: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/lazyexceptionopt.h
implementation file: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/lazyexceptionopt.cpp

Jitrino_OPT/lazyexc (last edited 2009-09-20 21:55:09 by localhost)