Community
Participate
Working Groups
For the simple (common) case of some advice calling 'thisJoinPoint.getTarget()' or similar, we could avoid building the entire tjp object at the jp location. If we say the optimization isn't allowed if you: - assign tjp to something in the advice - pass tjp onto another method then I still think we'd cover a lot of scenarios. Building the array of arguments is probably very expensive and if not used in the advice, that is a big waste.