Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13492

Add ExplicitGCInvokesConcurrent by default during Solr startup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.6
    • scripts and tools
    • None

    Description

      Solr should use the -XX:+DisableExplicitGC option as part of its default GC tuning.

      None of Solr's stock code uses explicit GCs, so that option will have no effect on most installs. The effective result of this is that if somebody adds custom code to Solr and THAT code does an explicit GC, it won't be allowed to function.


      Update: Based on the discussion in the JIRA, adding ExplicitGCInvokesConcurrent option instead DisableExplicitGC so that jcmd, jvisualvm could be run

      Attachments

        1. SOLR-13492.patch
          3 kB
          Munendra S N

        Issue Links

          Activity

            People

              munendrasn Munendra S N
              elyograg Shawn Heisey
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h