Zero should use compiler built-ins for atomics on linux-arm

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 11
    • Affects Version/s: 10
    • Component/s: hotspot
    • None
    • b01
    • arm
    • linux

      Like it has already been done for linux-m68k in JDK-8187227, Zero should also be patched on linux-arm to use compiler built-ins for the atomic functions in hotspot/os_cpu/linux_zero/assembler_linux_zero.cpp.

      Since the compiler built-ins for cmpxchg() work exactly like the current ARM-specific implementation in Zero, there is no need anymore to carry our own implementation but rather rely on gcc which helps simplifying the code.

            Assignee:
            John Paul Adrian Glaubitz
            Reporter:
            John Paul Adrian Glaubitz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: