Thanks for the reviews, Vladimir and Tobias. > Proposed optimization looks fine. In what cases you see the issues? It was motivated by some microbenchmarks targeting Memory Access API: https://mail.openjdk.java.net/pipermail/panama-dev/2020-September/010873.html Best regards, Vladimir Ivanov