RFR: 8340205: Native linker allows MemoryLayout consisting of only PaddingLayout [v5]
Vladimir Kozelkov
duke at openjdk.org
Mon Sep 30 14:07:41 UTC 2024
On Mon, 30 Sep 2024 13:30:21 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>abstract "reduction" rules
I already use similar "reduction" in stripNames(), but not only for PaddingLayout. For example, nested structures and unions are unpacked to be flatter and the MethodHandle cache is more efficient. I like this approach.
>current PR to reject that
In its current state it doesn't seem to do this. Will you be making further changes?
---
What about my examples 3 and 4 with overaligned unions? They look like a serious problem.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21041#issuecomment-2383308269
More information about the core-libs-dev
mailing list