Request for review (1 line) - 7186847

John Coomes John.Coomes at oracle.com
Tue Oct 9 19:07:08 UTC 2012


Jon Masamitsu (jon.masamitsu at oracle.com) wrote:
> 7186847: NPG: Use large pages for metadata allocations
> 
> http://cr.openjdk.java.net/~jmasa/7186847/webrev.00/

The change shouldn't be necessary.

On platforms where shared memory is used for large pages (Windows, old
Linux), that will cause shared memory to be used, and these sizes are
not big enough to justify it.  On platforms which do not use shared
memory, you should get large pages with the original code as long as
your space is big enough to take advantage of them.

Easiest to check this on sparc, where a number of different large page
sizes are available.  Stop in VirtualSpace::initialize() when
_middle_alignment is set.

-John



More information about the hotspot-gc-dev mailing list