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

Clean up enum G1Mark

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • None
    • gc
    • b09

      In `g1OopClosures.hpp`, `G1MarkNone` and `G1MarkPromotedFromRoot` behave the same (possibly after JDK-8159440). If we remove one of them, the enum, `G1Mark`, would have only two entries, controlling if an object, outside of the collection set, should be marked. Consider using a bool instead.

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: