[jvm-l] Re: Some Array vs GETFILED access times

2009-11-20 Thread segoe
I'm not sure what you were trying to test with the exception case -- exceptions only become a factor if they prevent some JIT optimization, and nothing there that would do that. My experience is that exceptions kill performance from the point the first exception is raised, and it is really

[jvm-l] Re: GC, allocation, cache effects, immutables, numerics!

2009-11-20 Thread Daniel Hicks
On Nov 19, 10:03 pm, Jon Harrop j...@ffconsultancy.com wrote: On Friday 20 November 2009 02:30:13 Daniel Hicks wrote: On Nov 16, 7:33 pm, Jon Harrop j...@ffconsultancy.com wrote: I see allocation as contention because the heap is a global shared resource. If you want to recover the

Re: [jvm-l] GC, allocation, cache effects, immutables, numerics!

2009-11-20 Thread Jon Harrop
On Tuesday 17 November 2009 04:14:10 Charles Oliver Nutter wrote: On Mon, Nov 16, 2009 at 7:33 PM, Jon Harrop j...@ffconsultancy.com wrote: I see allocation as contention because the heap is a global shared resource. If you want to recover the performance of the previous generation of