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

Pause time specification does not update GCTimeRatio

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: hotspot
    • Subcomponent:
      gc

      Description

      When specifying pause time using MaxGCPauseMillis/GCPauseTimeInterval the GCTimeRatio flag is not updated to reflect that ratio.

      This means that since G1 only uses GCTimeRatio to determine when to expand the heap, if you give more lenient pause time goals (e.g. 30/50 pause time goals), G1 will expand the heap very aggressively (because 30/50 corresponds to a GCTimeRatio of ~0.7 instead of the default value of 5).

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated: