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

heapRegionManager is missing volatile specifier for _claims.

    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

      The HeapRegionManager is missing a volatile specifier for _claims, which is part of a lock-free protocol. This leads to less robust behaviour that can break when unlucky with compilers.

      This is part of the larger CR JDK-8033552, which grew too large, and this is a part of those problems.

        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: