[foreign-memaccess+abi] RFR: Performance improvement to unchecked segment ofNativeRestricted [v2]
Radoslaw Smogura
github.com+7535718+rsmogura at openjdk.java.net
Sat Jan 16 02:08:57 UTC 2021
On Fri, 15 Jan 2021 11:24:55 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Radoslaw Smogura has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR.
>
> Looks good! Thanks for investigating the issues with lack of static on Unsafe.
>
> Could we please add the benchmark under test/micro/org/openjdk/bench/jdk/incubator/foreign ? We try to add benchmark for each case we find as we go along, to make sure we don't regress. This seems like another interesting case.
Hi. I've added the benchmarks:
* benchmarks used by me;
* added a new benchmarks to `LoopOverNonConstant` to compare performance of this approach with existing methods for getting values.
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/437
More information about the panama-dev
mailing list