-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 17, 18
-
Component/s: hotspot
-
b19
-
aarch64
-
linux
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8308849 | 17.0.8 | Aleksey Shipilev | P4 | Resolved | Fixed | b04 |
Atomic::add and its variants are sometimes used in HotSpot C++ code with memory_order_relaxed, in places where an atomic RMW is needed but ordering is not. The linux-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.
- backported by
-
JDK-8308849 Support relaxed atomic add for linux-aarch64
-
- Resolved
-
- relates to
-
JDK-8274616 Support relaxed atomic add for windows-aarch64
-
- Open
-
-
JDK-8274618 Support relaxed atomic add for macos/bsd-aarch64
-
- Closed
-
- links to
-
Commit
openjdk/jdk17u-dev/861fe74b
-
Commit
openjdk/jdk/8de26361
-
Review
openjdk/jdk17u-dev/1383
-
Review
openjdk/jdk/5785
(2 links to)