review(S): 7037939: NUMA: Disable adaptive resizing if SHM large pages are used
Igor Veresov
igor.veresov at oracle.com
Thu Apr 21 21:22:38 UTC 2011
The fix has two parts:
1. On Solaris, when ISM shared memory is used it is always allocated
round-robin across the nodes, so the NUMA allocator cannot work. The fix
is to disable UseNUMA if ISM method is selected. I let UseNUMA win
however if UseLargePages and UseSHM are not explicitly specified.
2. On Linux, it's impossible to use adaptive resizing with UseNUMA if
SHM shared memory is used. That is because we cannot uncommit a page in
such a mmaping. The solution is to disable adaptive resizing if the
userr really wants it, that is when UseNUMA and (UseLargePages or
UseSHM) are specified on the command line. Like on Solaris, I let
UseNUMA win if it's explicitly specified and UseLargePages and UseSHM
are not.
Webrev: http://cr.openjdk.java.net/~iveresov/7037939/webrev.00/
Thanks,
igor
More information about the hotspot-gc-dev
mailing list