Support relaxed atomic add for windows-aarch64

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 18
    • Component/s: hotspot
    • aarch64
    • windows

      Atomic::add and its variants are frequently used in HotSpot C++ code with memory_order_relaxed, in places where an atomic RMW is needed but ordering is not. The windows-aarch64 platform currently ignores the memory order argument and always performs a conservative operation, possibly affecting performance. It should instead use a relaxed atomic add where requested. Other ordering variants for add operations aren't currently used, so don't need specialization.

            Assignee:
            Unassigned
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: