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

ConcurrentG1Refine uses ints for many of its members that should be unsigned types

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • hotspot
    • gc
    • b110

    Description

      The members:
        int _green_zone;
        int _yellow_zone;
        int _red_zone;

        int _thread_threshold_step;

      of ConcurrentG1Refine should be some unsigned quantity, not signed. That will also allow removal of lots of safety "if (XY >= 0 && ...)" checks in the code.

      There is a preliminary patch attached that fixes that.

      Attachments

        Issue Links

          Activity

            People

              jprovino Joseph Provino (Inactive)
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: