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

G1 mixed gc young gen sizing may cause GC go over GCTimeRatio

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 15
    • 15
    • hotspot
    • gc

      G1 mixed gc by default sizes the young gen to the minimum allowed as default GCPauseIntervalMillis is MaxGCPauseMillis.

      This causes unnecessary heap expansions as the actual gc time ratio will spike at that time, particularly at the end of mixed gc although there is enough space left.

      One potential fix is to make sure that GCPauseTimeRatio and the ratio between MaxGCPauseMillis/GCPauseIntervalMillis is kept in sync.

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

              Created:
              Updated:
              Resolved: