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

Clean up enum G1Mark

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
      None
    • Resolved In Build:
      b09

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: