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

Validate G1 options that are expressed as percentages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • CPU:
      generic
    • OS:
      generic

      Description

      There are a number of G1-specific options that are expressed as percentages, but which are not validated during argument processing. In some cases there is no validation at all, and providing arguments outside [0,100] may produce unexpected behavior or crashes. In other cases there is some limited checking and canonicalization where the option is used, usually with a warning message for invalid values. It would be better to always validate these options during argument processing.

      Specific options include:
      - G1SATBBufferEnqueueingThresholdPercent
      - G1RSetUpdatingPauseTimePercent
      - G1HeapWastePercent
      - G1ReservePerscent

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: