RFR: 8309130: x86_64 AVX512 intrinsics for Arrays.sort methods (int, long, float and double arrays) [v13]
Srinivas Vamsi Parasa
duke at openjdk.org
Fri Aug 4 18:05:24 UTC 2023
On Thu, 3 Aug 2023 22:06:04 GMT, Andrew Haley <aph at openjdk.org> wrote:
>> Hi Andrew, the reason for the public API is to make AVX512 sort available to other data structures like MemorySegment (including the ones backed by native heap). The API of the arraySort() AVX512 intrinsic is similar to the public API of ArraysSupport.vectorizedMismatch() which is used by MemorySegment.mismatch().
>
> There's no need to make this method public, and it should not be. There is no need to have it in the Java API. `ArraysSupport.vectorizedMismatch()` is in an internal JDK class, not part of the Java API.
Sure Andrew. Will make this method private as suggested.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14227#discussion_r1284707308
More information about the hotspot-compiler-dev
mailing list