Use boolean type for tasks in SubTasksDone

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 17
    • Component/s: hotspot
    • gc
    • b07

      The tasks array elements for SubTasksDone indicate whether a given sub-task has already been perfomed. They are encoded as uints currently for historical reasons although a bool would be just as fine.

      Ie.
      `volatile uint* _tasks` in `class SubTasksDone` could be converted to `volatile bool* _tasks`. Suggested during the review of JDK-8074101

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

              Created:
              Updated:
              Resolved: