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

Memory ordering of _state in nmethod is not clear

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 10, 11
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None

      Description

      The memory ordering demands of concurrent writing/reading of _state and another members of nmethod is unclear.
      E.g. in aarch64 it's loaded via ldr and not lda, is this correct considering we have storestore fence between store of _stack_traversal_mark and _state?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                rehn Robbin Ehn
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated: