Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-13922

Backport JDK-8312182 [rhel-8, openjdk-17]

    • java-17-openjdk-17.0.10.0.7-2.el8
    • None
    • Important
    • ZStream
    • sst_java
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • None
    • None
    • If docs needed, set a value
    • None

          1. Description of problem:
            If THP (Transparent Huge Pages) are enabled unconditionally on the system, java applications that use many threads may see a huge Resident Set Size. That footprint is caused by thread stacks being mostly paged in.

      The issue was reported in JDK bug database and already fixed:

      THPs cause huge RSS due to thread start timing issue
      https://bugs.openjdk.org/browse/JDK-8312182

      We checked source code in src rpm, it looks OpenJDK 11(latest) and OpenJDK 17 does not contain the above fix.
      Please a backport the fix.

          1. Version-Release number of selected component (if applicable):

      java-11-openjdk-11.0.20.0.8-3.el8
      java-17-openjdk-17.0.8.0.7-2.el8

          1. How reproducible:

      Anytime

          1. Steps to Reproduce:

      N/A

          1. Actual results:

      N/A

          1. Expected results:
            If enabling them "always", it can not lead to huge memory footprint and bad startup performance

            rh-ee-tstuefe Thomas Stuefe
            rhn-support-kkawana Kazuhiro Kawana
            Andrew Hughes Andrew Hughes
            David Kutalek David Kutalek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: