On 7/10/06, David Corbin <[EMAIL PROTECTED]> wrote:
On Monday 10 July 2006 13:21, Charles O Nutter wrote:
> - Multiple transient collections allocated for every method hit

Allocate?  yikes.  That's odd sounding.

Yeah, I'm bouncing back and forth between C and Java a lot the past week...my nomenclature shows it.

> - Lots of collection overhead

Should some collections be arrays?
\

If not for hotspot, I'd say "absolutely". However hotspot is the great unknown. In some cases it may actually be optimizing ArrayList use down to very snappy array operations, and the extra overhead mostly goes away. In others, it may not. We've seen it doing some fairly impressive optimization, but it's hard to know whether our changes will help it or hurt it. 

Regardless, however, we're creating too many collections and too many objects per method call. We're improving though.

--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ www.jruby.org
Application Architect @ www.ventera.com
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jruby-devel mailing list
Jruby-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to