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

GC "dead ratios" should be unsigned

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: hs14
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Introduced In Build:
      1.3
    • Introduced In Version:
    • Resolved In Build:
      b08
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        The variables MarkSweepDeadRatio and PermMarkSweepDeadRatio represent a percentage of the generation that can be left unreclaimed during a full gc, so valid values are 0-100. Yet they are signed types, simply because of historical (bad) practice.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jcoomes John Coomes
                  Reporter:
                  jcoomes John Coomes
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: