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

Make G1CollectorPolicy::predictor const

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b96

      Description

      The method G1CollectorPolicy::predictor should be made const. The method can also return a const reference to the G1Predictor since the only public method on G1Predictor is const.

        Attachments

          Activity

            People

            • Assignee:
              ehelin Erik Helin
              Reporter:
              ehelin Erik Helin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: