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

Bump default value of G1RefProcDrainInterval

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b11

      Description

      The G1RefProcDrainInterval flag determines the frequency at which new marks are actually processed while keeping alive references during reference processing.

      The current value is 10, i.e. every ten references we try to drain the mark stack. However, due to how expensive setup and teardown of G1 marking is, this seriously inhibits performance.

      Tests showed that with a significantly higher value, 1000, reference processing time can halve.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tschatzl Thomas Schatzl
                Reporter:
                tschatzl Thomas Schatzl
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: