RFR: 8274400: HotSpot Style Guide should permit use of alignof
Julian Waters
jwaters at openjdk.org
Mon Jan 16 06:38:10 UTC 2023
On Thu, 22 Dec 2022 20:04:17 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> An obvious use-case was for computing the alignment of a type for use in
> ATTRIBUTE_ALIGNED (which currently has compiler-specific implementations that
> only support alignment values, though see JDK-8250269). But since we can now
> use `alignas` directly (JDK-8297912), that's no longer important.
Side tangent while speaking of 8297912, is the corresponding change at https://github.com/openjdk/jdk/pull/11431 sufficient or are there more corner cases to consider?
-------------
PR: https://git.openjdk.org/jdk/pull/11761
More information about the hotspot-dev
mailing list