]> source.dussan.org Git - aspectj.git/commitdiff
Reduced expected performance difference
authorAndy Clement <aclement@pivotal.io>
Wed, 27 Sep 2017 21:00:46 +0000 (14:00 -0700)
committerAndy Clement <aclement@pivotal.io>
Wed, 27 Sep 2017 21:00:46 +0000 (14:00 -0700)
JVM improvements seem to reduce the difference.

org.aspectj.ajdt.core/testdata/src1/LazyTjp.aj

index f3662738c529104ffdfa295f702d327ecbb530c7..02226a8afc0cb9b298d1403fd329e14b47c1e87d 100644 (file)
@@ -3,7 +3,7 @@ public class LazyTjp {
        private static final int N = 10000000;\r
        // if lazy tjp is working, then calling the advice that uses thisJoinPoint should\r
        // take at least this much longer than using an if pcd to bypass the advice\r
-       private static final double minimumRatio = 8.0; \r
+       private static final double minimumRatio = 1.8; // was 8 but jvm seems to be improving all the time!! \r
        \r
        public static void main(String[] args) {\r
                Trace.enabled = false;\r