RFR: 8297912: HotSpot Style Guide should permit alignas (Second Proposal Attempt)

Vladimir Kozlov kvn at openjdk.org
Fri Dec 2 19:28:07 UTC 2022


On Thu, 1 Dec 2022 04:34:56 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> [8252584](https://bugs.openjdk.org/browse/JDK-8252584) was integrated too early due to a mistake on my part, we should redo it and go through the proper approval process this time
> 
> (The changes in this commit are exactly identical to 8252584)

I would vote for using C++ feature which provides similar functionality just to avoid supporting our own implementation.
To have our own implementation was justified before as John R. commented.
That is assuming **ALL** C++ compilers we use today to compile HotSpot code do exactly the same thing.
So before approving this change we need to make sure we (Oracle and OpenJDK community) test #11431 on all our platforms.

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

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


More information about the hotspot-dev mailing list