On Thu, 20 Nov 2025 18:40:57 GMT, Almaz <[email protected]> wrote:

> > Note that WG14 still defines a max alignment:
> > > max_align_t
> 
> Can `MAX_MALLOC_ALIGN` be set to `alignof(max_align_t)`?
> 
> > It's in the fact that libc guarantees that all malloc calls will be aligned 
> > to that max alignment whereas WG14 does not (unless when you hold it at a 
> > certain angle ;-) )
> 
> I think this comes back to 
> https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2293.htm.

That would be best, I think, but can also be addressed in a separate PR.

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

PR Comment: https://git.openjdk.org/jdk/pull/28235#issuecomment-3563330369

Reply via email to