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

G1CollectorPolicy should use const for applicable methods

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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.

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

                Created:
                Updated:
                Resolved: