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

G1: introduce min / max young gen size bounds

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: hs18, hs21
    • Fix Version/s: hs22
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b05
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        Right now, when the young gen size auto-tuning in G1 is enabled (with UseAdaptiveSizePolicy), G1 sets the young gen size to what the ergonomic code calculates and does not obey and min / max bounds (even if NewSize / MaxNewSize have been explicitly set).

        We should introduce min / max young gen size limits. The defaults of those limits should be very aggressive (e.g., maybe 1-2 regions for min, 50% of the heap for max). Those limits should be also settable by the user with NewSize / MaxNewSize.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                brutisso Bengt Rutisson (Inactive)
                Reporter:
                tonyp Tony Printezis
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: