-
Enhancement
-
Resolution: Fixed
-
P4
-
17, 21, 22
-
b27
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8324622 | 21.0.3 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
Found it while doing new code that wants to know the cache line size.
Currently, there is a fallback in globalDefinitions.hpp that defaults DEFAULT_CACHE_LINE_SIZE to 64 if platform does not define it. Instead of relying on default, force platform definitions to tell what is the reasonable default for the platform. This would simplify porting to other architectures.
Currently, there is a fallback in globalDefinitions.hpp that defaults DEFAULT_CACHE_LINE_SIZE to 64 if platform does not define it. Instead of relying on default, force platform definitions to tell what is the reasonable default for the platform. This would simplify porting to other architectures.
- backported by
-
JDK-8324622 Require platforms to define DEFAULT_CACHE_LINE_SIZE
- Resolved
- blocks
-
JDK-8237842 Separate definitions for default cache line and padding sizes
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/34d97ab1
-
Commit openjdk/jdk/a56286f7
-
Review openjdk/jdk21u-dev/150
-
Review openjdk/jdk/16948
(1 links to)