On Wed, 9 Sep 2026 20:44:14 GMT, Chen Liang <[email protected]> wrote:

> 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).

This pull request has now been integrated.

Changeset: 79d35423
Author:    Chen Liang <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/79d354237270df2ed1389ced30fec1a2d48201b1
Stats:     280 lines in 11 files changed: 143 ins; 133 del; 4 mod

8392004: [VectorAPI] Required ByteVector/IntVector reinterpret operations cause 
heap allocation

Reviewed-by: psandoz, vlivanov, qamai, jbhateja

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

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

Reply via email to