Re: RFR: 8309130: x86_64 AVX512 intrinsics for Arrays.sort methods (int, long, float and double arrays) [v42]

2023-10-15 Thread himichael
On Sat, 14 Oct 2023 03:21:52 GMT, himichael wrote: >>> my question is that this feature should improve performance several times, >>> but it doesn't look like there's much difference between open jdk 22.19 and >>> jdk 8. is there a problem with my co

Re: RFR: 8309130: x86_64 AVX512 intrinsics for Arrays.sort methods (int, long, float and double arrays) [v42]

2023-10-13 Thread himichael
y configuration ? > > Hello @himichael, > > Using your code snippet, please see the output below using the latest JDK and > JDK 20 (which does not have AVX512 sort): > > JDK 20 (without AVX512 sort): `java > -XX:CompileCommand=CompileThresholdScaling,java.util.DualPivotQuic

Re: RFR: 8309130: x86_64 AVX512 intrinsics for Arrays.sort methods (int, long, float and double arrays) [v42]

2023-10-13 Thread himichael
On Fri, 13 Oct 2023 08:17:58 GMT, Quan Anh Mai wrote: > @himichael Please refer to [this > question](https://stackoverflow.com/questions/504103/how-do-i-write-a-correct-micro-benchmark-in-java) > for how to correctly benchmark Java code. thanks for your reply, but I think this ha

Re: RFR: 8309130: x86_64 AVX512 intrinsics for Arrays.sort methods (int, long, float and double arrays) [v42]

2023-10-13 Thread himichael
On Thu, 5 Oct 2023 23:36:48 GMT, Srinivas Vamsi Parasa wrote: >> The goal is to develop faster sort routines for x86_64 CPUs by taking >> advantage of AVX512 instructions. This enhancement provides an order of >> magnitude speedup for Arrays.sort() using int, long, float and double arrays. >>