Hi,

>> Interesting discussion - I tried to introduce some micro-optimizations
>> (pretty much like these) into the Tomcat codebase 8 years ago, but was
>> met with 'meh why bother?' responses as the thinking was that the vm
>> would pretty much make optimizations pointless.  I suppose it depends
>> on where the hotspots are.
>
> In Tomcat's case there is another difference.  Tomcat is most likely a
> long running process (and you should be using the server VM).  The JIT
> can and will be able to collect more data and introduce more aggressive
> optimizations over time.

Yes - the advantages of long-running processes being able to
'out-optimize' statically compiled stuff is well known (although I
didn't know it at the time I suggested these changes 9+ years ago :)

Kev

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to