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

Missing load-acquire in relation to CardTableModRefBS::inline_write_ref_field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • 9
    • 9
    • 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.

            kbarrett Kim Barrett
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: