RFR: 8309130: x86_64 AVX512 intrinsics for Arrays.sort methods (int, long, float and double arrays) [v14]
Srinivas Vamsi Parasa
duke at openjdk.org
Fri Aug 4 22:34:51 UTC 2023
On Fri, 4 Aug 2023 22:28:48 GMT, Srinivas Vamsi Parasa <duke at openjdk.org> wrote:
>> Also need to handle arraySort in file: share/gc/shenandoah/c2/shenandoahSupport.cpp, function: ShenandoahBarrierC2Support::verify around line 3000.
>
>> Also need to handle arraySort in file: share/gc/shenandoah/c2/shenandoahSupport.cpp, function: ShenandoahBarrierC2Support::verify around line 3000.
>
> Updated the code in ShenandoahBarrierC2Support as suggested.
> @vamsi-parasa With fastdebug build I see the following error: Internal Error (jdk/src/hotspot/share/opto/escape.cpp:1196), pid=3543536, tid=3543559 fatal error: EA unexpected CallLeaf arraysort_stub
>
> Please take a look.
This was fixed as well.
>> test/micro/org/openjdk/bench/java/util/ArraysSort.java line 55:
>>
>>> 53: @State(Scope.Thread)
>>> 54: @Warmup(iterations = 3, time=60)
>>> 55: @Measurement(iterations = 3, time=120)
>>
>> Warmup/measurement time could be reduced in the jmh micro to 2s/5s.
>
> Warmup/measurement time of 2s/5s works well for array size <= 10,000 is not giving sufficient time to warmup for size>=100,000.
Updated the benchmark with different warmup times depending on the size of the array.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14227#issuecomment-1666238364
PR Review Comment: https://git.openjdk.org/jdk/pull/14227#discussion_r1284886655
More information about the hotspot-compiler-dev
mailing list