[foreign-memaccess+abi] RFR: Check for mixed access - remove mem barriers

Radoslaw Smogura github.com+7535718+rsmogura at openjdk.java.net
Sat Jul 24 16:53:33 UTC 2021


That's for previous PR, which I destroyed with bad merge from master.

I wonder if this can look like this?


Benchmark                               (size)  Mode  Cnt   Score    Error  Units
ByteBufferVectorAccess.directBuffers      1024  avgt   10  27.119 ?  0.186  ns/op
ByteBufferVectorAccess.heapBuffers        1024  avgt   10  28.501 ?  0.118  ns/op
ByteBufferVectorAccess.pollutedBuffers    1024  avgt   10  64.354 ? 27.778  ns/op
Finished running test 'micro:ByteBufferVectorAccess'


https://github.com/openjdk/panama-foreign/pull/566

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

Commit messages:
 - Add missing templates
 - Check for mixed access.

Changes: https://git.openjdk.java.net/panama-foreign/pull/573/files
 Webrev: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=573&range=00
  Stats: 319 lines in 10 files changed: 188 ins; 0 del; 131 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/573.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/573/head:pull/573

PR: https://git.openjdk.java.net/panama-foreign/pull/573


More information about the panama-dev mailing list