[FFM performance] Intermediate buffer allocation when returning structs
Matthias Ernst
matthias at mernst.org
Fri Jan 17 14:25:19 UTC 2025
Disabling the intrinsics appears to both fix the scalar replacement and the
crasher:
java -XX:DisableIntrinsic=_Continuation_pin --add-opens
java.base/jdk.internal.misc=ALL-UNNAMED --add-opens
java.base/jdk.internal.vm=ALL-UNNAMED -Xlog:gc Repro
[0.078s][info][gc] Using G1
################# Expect allocations #################
################# Expect silence(release) or crash(fastdebug)
#################
################# Done. #################
On Fri, Jan 17, 2025 at 3:10 PM Alan Bateman <alan.bateman at oracle.com>
wrote:
> On 17/01/2025 13:48, Maurizio Cimadamore wrote:
> >
> > Thanks Matthias, adding loom-dev
> >
> The intrinsics for pin/unpin are new in JDK 24. Can you do a quick test
> with -XX:DisableIntrinsic=_Continuation_pin to see if it reproduces?
>
> -Alan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20250117/dec7acb6/attachment.htm>
More information about the panama-dev
mailing list