org.aspectj/runtime
jhugunin 0c833438da Implemented feature for Bugzilla Bug 48091
Lazy instantiation of thisJoinPoint 
Speed-ups of 10-100X are measured even when running a small test case with minimal GC issues.

The actual feature implemented is that thisJoinPoint objects are only created just before calling the method for advice that requires them.  To take advantage of this feature you must use an if PCD or some other dynamic test that occurs in the PCD not the advice body to guard the expensive creation of the thisJoinPoint object.

-XlazyTjp flag must be passed to compiler to enable this feature.
If any around advice is present on the joinpoint then lazy instantiation
will be disabled.  An Xlint warning will be displayed in this case.

As a related optimization, several helper methods were added to
Factory.makeJP to reduce the code size when thisJoinPoint is used.
2004-01-24 02:28:54 +00:00
..
src Implemented feature for Bugzilla Bug 48091 2004-01-24 02:28:54 +00:00
testsrc 47952 fix: SoftException.printStackTrace(..) prints wrapped throwable (if not >= 1.4) 2004-01-15 05:21:33 +00:00
.classpath initial version 2002-12-16 16:51:08 +00:00
.cvsignore initial version 2002-12-16 16:51:08 +00:00
.project initial version 2002-12-16 16:51:08 +00:00
runtime.mf.txt need this or there won't be a manifest in aspectjrt.jar 2003-01-16 04:56:21 +00:00