[foreign-memaccess] RFR: 8248487: Add static helpers to access segments (continued) - benchmark fix [v2]

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri Jul 3 20:14:04 UTC 2020


> This patch fixes the benchmarks that were referring to the previous accessor names.
> 
> It also addresses a performance loophole with long multiplication being used even when index fits in an int.

Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:

  Fix implementation of MemoryAccess::scale

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

Changes:
  - all: https://git.openjdk.java.net/panama-foreign/pull/233/files
  - new: https://git.openjdk.java.net/panama-foreign/pull/233/files/42a269d6..65ebe4e4

Webrevs:
 - full: https://webrevs.openjdk.java.net/panama-foreign/233/webrev.01
 - incr: https://webrevs.openjdk.java.net/panama-foreign/233/webrev.00-01

  Stats: 45 lines in 1 file changed: 1 ins; 4 del; 40 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/233.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/233/head:pull/233

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


More information about the panama-dev mailing list