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

Ship Jira with G1GC enabled by default

XMLWordPrintable

    • 87
    • 49
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Problem Definition

      Currently JIRA is not explicitly selecting a GC method to use. Most JIRA Server instances are using the oldparallel method or Concurrent (CMS) methods to handle the JAVA garbage collection.

      Suggested Solution

      By default, JIRA should come with the -XX:+UseG1GC JVM startup parameter.

      Why this is important

      • Improved performance on environments with large heaps
      • consistent GC method across initial deployments
      • The Tuning garbage collection guide explicitly recommends using G1GC, but neglects to inform users on how to enable it

      Workaround

      JIRA Admins are able to manually enable the G1GC method by following the steps in Setting properties and options on startup and adding the parameter of

      -XX:+UseG1GC
      -XX:+ExplicitGCInvokesConcurrent
      

      to the JVM_SUPPORT_RECOMMENDED_ARGS= section of the <JiraInstallDir>/bin/setenv.[sh|bat] file.

              Unassigned Unassigned
              aheinzer Andy Heinzer
              Votes:
              81 Vote for this issue
              Watchers:
              50 Start watching this issue

                Created:
                Updated: