RFR: 8274400: HotSpot Style Guide should permit use of alignof [v2]
Julian Waters
jwaters at openjdk.org
Mon Dec 26 16:13:20 UTC 2022
> The alignof operator was added by C++11. It returns the alignment for the given type. Various metaprogramming usages exist, in particular when using std::aligned_storage. Use of this operator should be permitted in HotSpot code.
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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/11761/files
- new: https://git.openjdk.org/jdk/pull/11761/files/0862132e..5ec061a4
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=11761&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=11761&range=00-01
Stats: 1704 lines in 324 files changed: 720 ins; 191 del; 793 mod
Patch: https://git.openjdk.org/jdk/pull/11761.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11761/head:pull/11761
PR: https://git.openjdk.org/jdk/pull/11761
More information about the hotspot-dev
mailing list