Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-70562

JVM Code Cache memory check is failing in ATST version 1.23.1 with JDK 11

    XMLWordPrintable

Details

    Description

      Issue Summary

      JVM Code Cache memory check is failing in ATST version 1.23.1 with JDK 11 (Open JDK or Oracle)

      Steps to Reproduce

      1. Install Jira 8.5.3 with JDK 11
      2. Start it
      3. Upgrade Troubleshooting and Support Tools plugin to the latest (1.23.1) version
      4. Clear catalina.out log file under <JIRA_INSTALL>/logs directory because the health check may be responding to outdated messages there
      5. Navigate Administration > System > Troubleshooting and Support Tools > Instance Health to check the warnings

      Expected Results

      It shouldn't show any warning messages for an empty instance because the default size of ReserveCodeCacheSize parameter is 512mb which is quite sufficient.

      Actual Results

      It shows a warning message like below:

      Note

      Possibly related: change since Java 9 JEP 197: Segmented Code Cache

      Divide the code cache into distinct segments, each of which contains compiled code of a particular type, in order to improve performance and enable future extensions.

      Workaround

      No action required. It's a false message. However, it still worths to search for CodeCache is full. Compiler has been disabled message in catalina.out file. If you see this message there;

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ayanar Alp
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: