Missing load-acquire in relation to CardTableModRefBS::inline_write_ref_field

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: hotspot
    • gc

      ./share/vm/gc/shared/cardTableModRefBS.inline.hpp:

      The CardTableModRefBS::inline_write_ref_field method takes a release parameter that causes a release_store to be used. However release-store, if needed, is generally expected to be paired with a load-acquire - unless, for example, all such loads can be proven to be safe, such as if only occurring at a safepoint.

            Assignee:
            Kim Barrett
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: