ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Jackson <foamd...@gmail.com>
Subject Re: svn commit: r1066963 - in /ant/core/trunk/src/main/org/apache/tools: ant/ ant/taskdefs/ ant/taskdefs/cvslib/ ant/taskdefs/email/ ant/taskdefs/optional/ ant/taskdefs/optional/depend/ ant/taskdefs/optional/depend/constantpool/ ant/taskdefs/optional
Date Fri, 25 Feb 2011 08:51:48 GMT
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-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message