On Wed, 18 Dec 2024 16:22:51 GMT, Quan Anh Mai <qa...@openjdk.org> wrote:
> Hi, > > This patch adds the missing null checks to the shuffle arguments of the > various `rearrangeTemplate` method. For all other API points, we null check > arguments by calling `check` on them. As `rearrange` implementations cast the > argument to the concrete type, there is no need for species check, but we > still need the null check. This allows the intrinsics to know that the > argument is not `null`, as nullable argument makes the method > non-intrinsifiable. > > Please take a look, thanks a lot. This pull request has now been integrated. Changeset: c8e94abf Author: Quan Anh Mai <qa...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/c8e94abfc36f751b9bbf4cdbd72d716d5e99ac88 Stats: 14 lines in 7 files changed: 7 ins; 0 del; 7 mod 8346532: XXXVector::rearrangeTemplate misses null check Reviewed-by: psandoz ------------- PR: https://git.openjdk.org/jdk/pull/22816