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

G1: Refine G1EvacFailureObjectsSet::iterate

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 18
    • hotspot
    • gc
    • b23

      Currently, G1EvacFailureObjectsSet::iterate(ObjectClosure* closure) is not a const method, but it looks like a const method. It will be a surprise for reader, we should refine it in some way.

      I.e. you would not expect that an iteration method is destructive, clearing out the set it just iterated over.

            mli Hamlin Li
            mli Hamlin Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: