-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: None
-
Component/s: core-libs
-
b44
-
generic
-
generic
-
Verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8084745 | emb-9 | Martin Buchholz | P2 | Resolved | Fixed | team |
Unsafe.storeFence currently says,
"""Ensures lack of reordering of stores before the fence
with loads or stores after the fence."""
That looks incorrect. It should be implying a LoadStore, not a StoreLoad.
Also, fences are very difficult to understand, and more explanatory text will be helpful.
Here's a try:
http://cr.openjdk.java.net/~martin/webrevs/openjdk9/fence-intrinsics/
"""Ensures lack of reordering of stores before the fence
with loads or stores after the fence."""
That looks incorrect. It should be implying a LoadStore, not a StoreLoad.
Also, fences are very difficult to understand, and more explanatory text will be helpful.
Here's a try:
http://cr.openjdk.java.net/~martin/webrevs/openjdk9/fence-intrinsics/
- backported by
-
JDK-8084745 JEP 171: Clarifications/corrections for fence intrinsics
-
- Resolved
-
- duplicates
-
JDK-8038978 Incorrect doc for storeFence() in sun.misc.Unsafe
-
- Closed
-