RFR: 8297912: HotSpot Style Guide should permit alignas (Second Proposal Attempt) [v2]
Julian Waters
jwaters at openjdk.org
Tue Feb 7 01:21:55 UTC 2023
On Thu, 8 Dec 2022 16:37:35 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
>> Julian Waters has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
>>
>> - Merge branch 'openjdk:master' into style
>> - HotSpot Style Guide
>
> The MSVC implementation of `ATTRIBUTE_ALIGNED` using `__declspec(align(N))` has the same
> limitation of needing the alignment value, and not being usable for types.
>
> I happened to run into both the limitation to alignment values problem and
> the lack of an XLC definition for ATTRIBUTE_ALIGNED today.
@kimbarrett Now that alignas has officially been approved, is there anything I need to do with [8250269: Replace ATTRIBUTE_ALIGNED with alignas](https://github.com/openjdk/jdk/pull/11431)? I'm not sure if there's anything else needed on my part for that issue
-------------
PR: https://git.openjdk.org/jdk/pull/11446
More information about the hotspot-dev
mailing list