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

Use boolean type for tasks in SubTasksDone

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • 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

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

              Created:
              Updated:
              Resolved: