-
Enhancement
-
Resolution: Fixed
-
P3
-
17
-
b19
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8296488 | 11.0.18 | Victor Rudometov | P3 | Resolved | Fixed | b02 |
os::random() is used a lot (once for every class) during HotSpot initialization, and it defaults to using a compare-and-swap operation with memory_order_conservative. We don't need that: it should be memory_order_relaxed.
- backported by
-
JDK-8296488 Use memory_order_relaxed for os::random().
-
- Resolved
-