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

WorkGroup classes are missing volatile specifiers for lock-free code

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b140
    • CPU:
      generic
    • OS:
      generic

      Description

      Some classes in workgroup.*pp are missing volatile specifiers that are used as parts of lock-free protocols. Lock-free code should use volatile specifiers to be more robust and run into less unnecessary bugs with compiler reordering.

      This was part of the related bug JDK-8033552, but was split out due to the large size of that CR.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eosterlund Erik Ă–sterlund
                Reporter:
                eosterlund Erik Ă–sterlund
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: