Community
Participate
Working Groups
I am requesting for a ProceedingJoinPoint.StaticPart which would allow proceeding in around advice without requiring a call to makeJP. In my situation, I am implementing a profiler in @AspectJ, to log the time a given method takes and am only interested in thisJoinPointStaticPart.getSignature() and the arguments to the method execution. There are two options to do this, both with drawbacks: 1. Using before and after advice, maintaining a stack per thread of the function calls --the stack is prohibiting for performance 2. Using around advice --a join point is constructed on every method execution Please see this thread for the entire discussion: http://aspectj.2085585.n4.nabble.com/lazyTJP-optimization-for-around-advice-td4650646.html
just a note whilst I remember. The need for a proceedingjoinpoint to have something to proceed upon may make this non trivial to implement in an optimal way (it won't be as trivial as the regular JoinPoint.StaticPart).