AspectJ @Transactional aspect uses runtime checks [SPR-8890] #13531
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Dale Peakall opened SPR-8890 and commented
The AspectJ support for the
@Transactional
annotation uses pointcuts that include "runtime" conditions. These conditions mean that every method on every object processed by AspectJ will be weaved with code that checks for the presence of the annotation at runtime. This is hugely inefficient. The pointcuts can be rewritten so AspectJ only weaves code into the classes that have actually been annotated.Affects: 3.1 RC2
Referenced from: commits f74789f, 5ab2bf1, 3a62aa0, a347e4d
The text was updated successfully, but these errors were encountered: