harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Harmony Wiki] Update of "Jitrino OPT/lazyexc" by Mikhail Fursov
Date Tue, 13 May 2008 09:21:43 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by Mikhail Fursov:
http://wiki.apache.org/harmony/Jitrino_OPT/lazyexc

------------------------------------------------------------------------------
- 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. 
+ ''' 'lazyexc' ''' - Java exceptions related optimization
+ [[BR]][[BR]]
+ Lazy exceptions optimization pass eliminates redundant creation of exception objects. 
+ [[BR]]
+ 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. 
+ [[BR]]
+ 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. 
  

Mime
View raw message