On Fri, 26 Jul 2024 06:56:17 GMT, Per Minborg <pminb...@openjdk.org> wrote:

> Most put operations require that the item is properly aligned now that the 
> FFM API is used in conjunction with the aligned `ValueLayout` instances like 
> `JAVA_LONG`. `Unsafe` did not impose this restriction. Is this the intended 
> behavior?

Yes, we have pre-existing comments saying the caller has to make sure to 
properly align variables.

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

PR Comment: https://git.openjdk.org/jdk/pull/20339#issuecomment-2253615860

Reply via email to