[foreign-memaccess+abi] RFR: Add benchmarks to MemorySegmentVsBits

Paul Sandoz psandoz at openjdk.org
Tue Jan 3 17:31:14 UTC 2023


On Tue, 3 Jan 2023 11:34:31 GMT, Per Minborg <pminborg at openjdk.org> wrote:

> Looks good. It seems like the memory segment implementation breaks even at size = 16? On top of my head I can't explain why the plain var handle (`byteVarHandle`) is so much faster than anything else. 1but perhaps the benchmark is flawed there?

I think we need to look at the generated assembler code to get some more clues as to why.

Paul.

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

PR: https://git.openjdk.org/panama-foreign/pull/762


More information about the panama-dev mailing list