On Wed, Oct 20, 2010 at 8:46 AM, Mike Hopper <[email protected]> wrote:

> I've been doing Java development for many years but sometimes
> something surprises me. A coworker was explaining to me that many JVMs
> allocate all of the memory specified by the -Xmx parameter at
> application startup time. He said that this was an optimization
> feature and that the JVM needs to ensure that it gets a contiguous
> address space for its heap at startup. Some google searches confirmed
> that this is the case for the IBM JVM.
>
> Why did you include *contiguous* in your statement. Most (all(??) modern
processors hve an MMU and use a table to hold pages thus mapping pages into
one long contiguous chunk is not a problem providing it can find enough
pages.

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" 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/javaposse?hl=en.

Reply via email to