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

Add user-facing warning if THPs are enabled but cannot be used

XMLWordPrintable

    • b11
    • linux

        We don't warn the user if +UseTransparentHugePages were specified (and nothing else, but this implies +UseLargePages), but the system does not support THPs.

        We used to have warnings in the code, but I checked and they never really worked (I tried older versions of the JDK). The reason is that THP detection had been broken (fixed with https://bugs.openjdk.org/browse/JDK-8310233). The broken detection always reported success even if THPs are disabled, so the user would never have seen this warning even when we had it.

              stuefe Thomas Stuefe
              stuefe Thomas Stuefe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: