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

Jie Fu jiefu at openjdk.java.net
Thu Mar 10 04:04:38 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.

I would suggest adding a jtreg test for this fix if it is possible.
Thanks.

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

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


More information about the hotspot-dev mailing list