Release Note: -XX:+UseTransparentHugePages Fails to Enable Huge Pages for G1

XMLWordPrintable

    • gc

      On systems configured with the Transparent Huge Pages (THP) mode as ´madvise´, the option `-XX:+UseTransparentHugePages` does not enable huge pages when running with the default garbage collector G1.

      A workaround to allow the use of transparent huge pages with G1 is to configure the THP mode as `always`:
      ```
      # echo always > /sys/kernel/mm/transparent_hugepage/enabled
      ```

      This issue will be fixed in a future update.

            Assignee:
            Stefan Johansson
            Reporter:
            Stefan Karlsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: