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

Short term pause time ratio calculation in G1 off

    XMLWordPrintable

Details

    • gc
    • b04

    Description

      G1 calculates short term pause time ratio by

      ratio = (current pause time * X) (time of current end of gc - current-Xth end of gc)

      where X is the current length of the queue containing the last X end-of-gc pause times. (This is to smooth out spikes in collections that are close together).

      The problem is that G1 pushes the current collection end time *before* this calculation onto that queue, which means that the denominator in above calculation uses one less period than required.

      Attachments

        Issue Links

          Activity

            People

              tschatzl Thomas Schatzl
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: