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

Short term pause time ratio calculation in G1 off

XMLWordPrintable

    • gc
    • b04

      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.

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

              Created:
              Updated:
              Resolved: