G1CollectorPolicy should use const for applicable methods

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • gc
    • b89

        G1CollectorPolicy does a lot of calculations and many of those methods don't mutate `this`. Such methods should be marked as const.

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

                Created:
                Updated:
                Resolved: