Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8077687

G1 does not use 256M pages on some SPARC machines

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 9
    • 8u60, 9
    • hotspot
    • gc
    • sparc
    • solaris

      On some machines, G1 does not use the large pages in the size specified by the user, e.g. when using -XX:+UseLargePages -XX:LargePageSizeInBytes=256M it does not use 256M large pages.

      Other collectors use large pages of that size.

      E.g. for

      java -server -Xms512g -Xmx512g -Xmn256g -XX:ParallelGCThreads=64 -XX:+UseG1GC -XX:LargePageSizeInBytes=256m <application>

      pmap -xs shows that there are no 256M pages in use.

      On the same machine with another application, with a preliminary fix to print G1 heap sizes indicates that 256M pages are at least requested:

      > G1 heap: min=3298534883328 max=3298534883328 pg_sz=268435456
      > base=0xfffffcfd80000000 size=3298534883328

            tschatzl Thomas Schatzl
            tschatzl Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: