Java Performance Degradation in JDK7 and JDK8

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Wed Apr 29 10:14:07 UTC 2015


One last note/clarification - if you use JDK 9/JDK 8u20 with the 
following options:

-source 6 -target 6 (which seem to be similar to the one you mention in 
the bug report), then the time goes back to this:

warning: [options] bootstrap class path not set in conjunction with 
-source 1.6
warning: [options] source value 1.6 is obsolete and will be removed in a 
future release
warning: [options] target value 1.6 is obsolete and will be removed in a 
future release
warning: [options] To suppress warnings about obsolete options, use 
-Xlint:-options.
Note: generated_ttcn/TTCN3_CommonDefs.java uses or overrides a 
deprecated API.
Note: Recompile with -Xlint:deprecation for details.
4 warnings

real    0m31.916s
user    1m27.915s
sys    0m1.639s


Which is essentially the same as the one obtained in JDK 7.

So, I see no regression whatsoever from 7 to 8 (if you compile with 
-source 7 - that is).

Maurizio

On 29/04/15 11:00, Maurizio Cimadamore wrote:
> JDK 9 (b42)
>
> Note: generated_ttcn/TTCN3_CommonDefs.java uses or overrides a 
> deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
>
> real    0m46.306s
> user    2m17.489s
> sys    0m2.166s



More information about the compiler-dev mailing list