JVMTI OOM handling when arrays / objects are too large

Tomas Hurka Tomas.Hurka at Sun.COM
Mon Jun 15 01:53:16 PDT 2009


Hi Jeremy,

On 15 Jun 2009, at 09:39, Jeremy Manson wrote:
> Why is this a programming error?  I thought it was just a VM  
> limitation.
Well, maybe the error is probably not the right word. The point is  
that this is not OOME. You are right that it is VM limitation.

>  Surely the JVMS allows arrays of any nonnegative integral size, no?

Sure, it does.

Bye,
--
Tomas Hurka   <mailto:tomas.hurka at sun.com>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.dev.java.net
Software Engineer, Developer Platforms Group
Sun Microsystems, Praha Czech Republic




More information about the serviceability-dev mailing list