groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Theodorou <>
Subject Re: Potential Bytecode Optimization
Date Fri, 07 Apr 2017 15:35:01 GMT

On 06.04.2017 11:12, Jennifer Strater wrote:
> I can remove the extra instructions, but I'd like to see if it makes a
> difference.

The JVM is very good at removing dead code. The removal of dead code 
even lowers the actual code size considered for inlining. So I don't 
think I can give an example in which I am sure it will matter for 
performance. It will probably matter on startup during class validation 
and verification

bye Jochen

View raw message