RFR: 8305341: Alignment outside of HotSpot should be enforced by alignas instead of compiler specific attributes

Julian Waters jwaters at openjdk.org
Sun Apr 2 06:37:19 UTC 2023


On Fri, 31 Mar 2023 06:07:39 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> C11 has been stable for a long time on all platforms, so native code can use the standard alignas operator for alignment requirements

Just checked, the pragmas in the freetype code now seems to be pointless since there is no alignment specified in the code it's supposed to guard. Maybe upstream will fix this someday :/

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

PR Comment: https://git.openjdk.org/jdk/pull/13258#issuecomment-1493245182


More information about the serviceability-dev mailing list