RFR: 8297053: Specify new default byte alignment for native allocators

Chen Liang liach at openjdk.org
Sun Jan 11 18:04:16 UTC 2026


On Sun, 11 Jan 2026 17:11:32 GMT, Igor Rudenko <duke at openjdk.org> wrote:

> Use the largest known value for default allocation alignment so that align value that less than 16 (typical align for modern systems) turns to 16

I think it might be better to inform users that their requested small alignment gets promoted to 16: this is where the incompatibility stems from.

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

PR Comment: https://git.openjdk.org/jdk/pull/29156#issuecomment-3735201419


More information about the core-libs-dev mailing list