The return value of `convert0('X', vspecies().withLanes(laneType))` is 
polymorphic, making the subsequent call `swapIfNeeded` megamorphic and thus 
causing allocations. We have the constant species available and should execute 
code on the species instead.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8392004
 - Try to fix sublane swap inline

Changes: https://git.openjdk.org/jdk/pull/32803/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32803&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8392004
  Stats: 185 lines in 10 files changed: 49 ins; 133 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/32803.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32803/head:pull/32803

PR: https://git.openjdk.org/jdk/pull/32803

Reply via email to