[foreign-memaccess] RFR: 8239079: Add a benchmark for concurrent use of memory access API

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri Feb 14 13:42:43 UTC 2020


This patch adds a basic benchmark for a memory segment used in a concurrent setting. The benchmark computes the sum of the values in a segment - both using a sequential loop and using a parallel ForkJoin-based computation.

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

Commits:
 - ca2ff4cd: 8239079: Add a benchmark for concurrent use of memory access API

Changes: https://git.openjdk.java.net/panama-foreign/pull/20/files
 Webrev: https://webrevs.openjdk.java.net/panama-foreign/20/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8239079
  Stats: 131 lines in 1 file changed: 131 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/20.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/20/head:pull/20

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


More information about the panama-dev mailing list