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

x86: Use xchg for volatile writes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 20
    • hotspot

      Currently, volatile write is implemented using a normal write and a StoreLoad barrier (lock_add [rsp - 0x40], 0x0). This can be reduced to a single locked xchg, similar to how C++ compilers are doing.

            Unassigned Unassigned
            qamai Quan Anh Mai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: