[foreign-memaccess] [Rev 01] RFR: 8239079: Add a benchmark for concurrent use of memory access API
Paul Sandoz
psandoz at openjdk.java.net
Fri Feb 14 16:56:58 UTC 2020
On Fri, 14 Feb 2020 14:42:14 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> 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.
>
> The pull request has been updated with 1 additional commit.
+1
I propose to write a `Spliterator` over a `MemorySegment` then we can integrate with sequential and parallel stream tests. Not for performance reasons but another integration use-case.
-------------
Marked as reviewed by psandoz (Committer).
PR: https://git.openjdk.java.net/panama-foreign/pull/20
More information about the panama-dev
mailing list