Commit Graph

14 Commits

Author SHA1 Message Date
aclement
9ebfc84930 Fix and tests for Bugzilla Bug 62227
Load Time Weaving aborts on any kind of warning (declare/xlint)
2004-05-14 12:51:52 +00:00
acolyer
33d8ee9eed fix for Bugzilla Bug 31460
Weaving class loader
2004-04-02 12:03:40 +00:00
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
jhugunin
a1bb5dae64 added test to try to investigate size issues, but can't reproduce for any
number of loops in BasicCommandTestCase.testSizeChanges()
2003-07-23 01:05:55 +00:00
jhugunin
c509c6f751 fix and test for Bugzilla Bug 38131
ajc needs -d . option while correctly compiling classes from subpackage
2003-05-27 17:35:13 +00:00
jhugunin
c552c812c2 expanded test coverage 2003-05-19 20:51:06 +00:00
jhugunin
039d04d39d fixing declare parents problems 2003-04-11 00:48:49 +00:00
jhugunin
db37189ceb fix and test for Bugzilla Bug 34820
ajc -aspectpath fails with NPE for cflow pointcuts
2003-03-12 19:52:13 +00:00
jhugunin
ad5377fcb2 implemented fastMatch method along with some basic tests of
weave performance with and without it
2003-03-12 02:10:40 +00:00
jhugunin
bb66774ab4 further work on binary aspects (aspect path) tested and implemented correct behavior
for obvious forms of abstract aspects now
2003-03-11 19:06:21 +00:00
jhugunin
cd8bd2c7ce further work on binary aspects (aspect path) tested correct behavior
for obvious forms of concrete aspects, next need to address abstract
2003-03-10 23:18:56 +00:00
jhugunin
a5fb214590 renamed "declare dominates" to "declare precedence" 2003-01-14 17:33:36 +00:00
jhugunin
80f6a56254 fixed accessiblity bug 2002-12-18 05:08:26 +00:00
wisberg
d842c4f113 initial version 2002-12-16 17:58:19 +00:00