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

Use boolean type for tasks in SubTasksDone

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      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

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

                Dates

                Created:
                Updated:
                Resolved: