xlxs xlxs - 4 months ago 31
Java Question

In terms of performance which is faster bytecode generated by javac or ecj compiler?

Lets assume that 1.8 runtime environment from oracle is being used; bytecode generated by ECJ compiler is faster than bytecode generated by javac compiler?


Neither compiler optimises the code except for constant inlining as specified in the Java Language Specification. The main optimisations all occur at runtime.