On Mar 1, 2009, at 9:26 PM, John Cowan wrote:

> On Sat, Feb 28, 2009 at 5:52 PM, Randall R Schulz  
> <[email protected]> wrote:
>
>>> Directly accessing the arrays avoids the bounds checking of get/put.
>>
>> The JVM still does array bounds checks, of course.
>
> Unless they are optimized away by the JIT.

Which happens when...

I started to reply to this, as far as HotSpot is concerned, and moved  
my reply here:
   http://wikis.sun.com/display/HotSpotInternals/RangeCheckElimination

Enjoy!

-- John

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to