Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Re: [NEWSDELIVER] Re: call vs execution


Mouna,

There is one important difference wrt performance between advising call and execution join points. If you use a call join point you cannot take advantage of the lazyTjp optimization that became standard in AspectJ 5. The way to get the best performing tracing aspect is to follow the pattern described here http://www.eclipse.org/aspectj/doc/next/README-12.html#LAZY_TJP and in Chapter 11 of the Eclipse Aspect book (http://www.amazon.com/gp/product/0321245873/qid=1112868888/sr=2-3/ref=pd_bbs_b_2_3/103-4022345-1803832?n=283155).

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/

To:        undisclosed-recipients:;
cc:        
Subject:        [NEWSDELIVER] Re: call vs execution



Okay,
It's clearer for me now! thank you very much Sian.
Mouna





Back to the top