-XX:+MaximizeHeapSize?

Andreas Sterbenz Andreas.Sterbenz at Sun.COM
Wed Jul 11 17:53:00 UTC 2007


Jon Masamitsu wrote:
> 
> I'd like to propose an additional policy under a new command line
> flag.  Let me use MaximizeHeapSize for the name for now.  If
> MaximizeHeapSize is set, the VM will calculate
> the amount of physical memory on the platform and
> try to use that as the upper limit on the heap size.   As
> with the current GC ergonomics the upper limit will
> be ~4g on a 32bit system.   If the VM cannot actually
> reserve that amount of space at initialization, it will
> try reserving some smaller amounts until it succeeds.  There
> will be some minimum size (probably 64m) that it will not
> go below.

Does this proposal address the perm gen as well? Or will it still be 
necessary to set the size of the perm gen manually?

Andreas.



More information about the hotspot-gc-dev mailing list