Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] load-time weaving plans?



Adrian,

The first thing to point out is that while the AW and AspectJ projects have
merged along with their contributors and communities the code bases
(largely for licensing reasons) have not. The experience of LTW which Jonas
and Alex have brought with them has made a tremendous contribution to the
AspectJ 5 specification, most of which has already been prototyped and is
in the process of being committed in time for the March final release.

To answer your question improving weaving performance during development
the best solution is to use incremental compilation
(http://eclipse.org/ajdt/whatsnew120M2/). That way you get the advantage of
all the structure information (Outline, Cross Reference and Visualiser
views). We are planning LTW support for AJDT but you have to pay the
weaving cost some time i.e. when you run the program. This approach may be
more appropriate for optional infrastructure aspects i.e. tracing.

Matthew Webster
AOSD Project
Java Technology Centre, MP146
IBM Hursley Park, Winchester,  SO21 2JN, England
Telephone: +44 196 2816139 (external) 246139 (internal)
Email: Matthew Webster/UK/IBM @ IBMGB, matthew_webster@xxxxxxxxxx
http://w3.hursley.ibm.com/~websterm/

Adrian Powell <apowell@xxxxxxxxxx>@eclipse.org on 27/01/2005 05:26:57

Please respond to aspectj-users@xxxxxxxxxxx

Sent by:    aspectj-users-admin@xxxxxxxxxxx


To:    aspectj-users@xxxxxxxxxxx
cc:
Subject:    [aspectj-users] load-time weaving plans?



The LTW page in the Developer's Workbook (
http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/aspectj-home/doc/ajdk15notebook/ltw-configuration.html
) looks exciting.  Is this still a vision, or are any of these pieces
available today?

I've found the performance of the AJDT weaver to be a common gripe with
some teammates and even though the AJ team has made some impressive gains,
there is still a large gap.  I wonder if the AW LTW would be a good tool
for development, when we are constantly saving, and so rebuilding.  In the
full build and deploy, we can still use the static weaver for runtime
performance.  It seems an easy (if maybe inelegant) way to get immediate
and dramatic performance improvements.

Thoughts?  Has any one else tried this out?  What is the vision for merging
AW with AJ?

cheers,
-adrian.
--
Adrian Powell
Centre for IBM e-Business Innovation :: Vancouver
apowell@xxxxxxxxxx / 604-297-3194



Back to the top