heapRegionManager is missing volatile specifier for _claims.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • None
    • gc
    • b140
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: