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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 10
    • 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.

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

              Created:
              Updated:
              Resolved: