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

Use boolean type for tasks in SubTasksDone

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 17
    • hotspot
    • gc
    • b07

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: