]> source.dussan.org Git - aspectj.git/commit
Fixes Bug 525293 - Spring AOP could be faster
authorAndy Clement <aclement@pivotal.io>
Thu, 28 Sep 2017 23:03:17 +0000 (16:03 -0700)
committerAndy Clement <aclement@pivotal.io>
Thu, 28 Sep 2017 23:03:17 +0000 (16:03 -0700)
commitba551b09e4c873f30c0675193e70e0a0eb62c3ca
treeb28159ecf6270fde24fc95c24db0f1dae35b6ec0
parentb7e4aff1c15a0984d4ca772ffb82cdd9b0f6fa57
Fixes Bug 525293 - Spring AOP could be faster

Multiple changes here:
- annotation unpacking is smarter and if it only needs runtime
  retention annotations it uses reflection and doesn't unpack the
  bytes to discover class level retention annotations.
- Reflection worlds are shared if for the same classloader.
bcel-builder/src/org/aspectj/apache/bcel/util/ClassLoaderRepository.java
org.aspectj.matcher/src/org/aspectj/weaver/reflect/AnnotationFinder.java
org.aspectj.matcher/src/org/aspectj/weaver/reflect/ReflectionBasedResolvedMemberImpl.java
org.aspectj.matcher/src/org/aspectj/weaver/reflect/ReflectionWorld.java
org.aspectj.matcher/src/org/aspectj/weaver/tools/PointcutParser.java
weaver5/java5-src/org/aspectj/weaver/reflect/Java15AnnotationFinder.java
weaver5/java5-testsrc/org/aspectj/weaver/reflect/ReflectionWorldTest.java