Clean up enum G1Mark

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 17
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: