RFR: 8274400: HotSpot Style Guide should permit use of alignof [v2]

Julian Waters jwaters at openjdk.org
Mon Dec 26 16:14:52 UTC 2022


On Thu, 22 Dec 2022 20:03:37 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 three additional commits since the last revision:
>> 
>>  - More Descriptive Version
>>  - Merge remote-tracking branch 'upstream/master' into alignof
>>  - HotSpot Style Guide should permit use of alignof
>
> doc/hotspot-style.md line 1060:
> 
>> 1058: 
>> 1059: * `alignof`
>> 1060: ([n2341](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf))
> 
> Should say that `alignof` should be used instead of `std::alignment_of`.

Got it, swapped to the more descriptive version to mention this. I'll discuss about the reasons for permitting it little later, right now I'm somewhat swamped by build-dev stuff

-------------

PR: https://git.openjdk.org/jdk/pull/11761


More information about the hotspot-dev mailing list