Integrated: 8282874: Bad performance on gather/scatter API caused by different IntSpecies of indexMap

Joshua Zhu jzhu at openjdk.java.net
Sat Mar 12 04:07:40 UTC 2022


On Wed, 9 Mar 2022 12:33:49 GMT, Joshua Zhu <jzhu at openjdk.org> wrote:

> I came across a performance issue when using scatter store VectorAPI for Integer and Long in the same application. The poor performance was caused by vector intrinsic inlining failure because of non-determined IntSpecies for a constant VectorShape of IndexMap in this scenario.
> As discussion at https://github.com/openjdk/jdk/pull/7721 , I change the code in VectorAPI.
> Please help review.

This pull request has now been integrated.

Changeset: 5c408c14
Author:    Joshua Zhu <jzhu at openjdk.org>
Committer: Jie Fu <jiefu at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5c408c1410e15087f735a815b7edc716d514b1b3
Stats:     42 lines in 7 files changed: 0 ins; 0 del; 42 mod

8282874: Bad performance on gather/scatter API caused by different IntSpecies of indexMap

Reviewed-by: psandoz

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

PR: https://git.openjdk.java.net/jdk/pull/7757


More information about the hotspot-dev mailing list