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

WorkGroup classes are missing volatile specifiers for lock-free code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • hotspot
    • None
    • gc
    • b140
    • generic
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: