UseLargePages and 1g page size?

Clemens Eisserer linuxhippy at gmail.com
Thu Apr 10 13:20:11 PDT 2008


Sorry for asking a bit off-topic.

Doesn't hotspot use some places where e.g. it needs to set e.g. access
privilleges on a single page (e.g. for safepoint polling). So is for
e.g. the safepoint-page 1GB "wasted" in this case?

Thanks, lg Clemens

2008/4/8, John Coomes <John.Coomes at sun.com>:
> Jon Masamitsu (Jon.Masamitsu at Sun.COM) wrote:
>  > Does UseLargePages currently work with 1g large
>  > page size?
>  >
>  > -XX:LargePageSizeInBytes=1073741824
>  >
>  > This is on solaris amd64
>
>
> It should work, but AFAIK has not been tested.
>
>  BTW, does solaris have support for 1G pages now?  I wasn't sure it was
>  available.  If you have a box, pagesize -a will tell you.
>
>
>  -John
>
>



More information about the hotspot-runtime-dev mailing list