RFR: JDK-8266431: Dual-Pivot Quicksort improvements (Radix sort)

Nils Eliasson neliasso at openjdk.java.net
Mon Sep 13 17:28:50 UTC 2021


On Thu, 20 May 2021 08:03:03 GMT, Nils Eliasson <neliasso at openjdk.org> wrote:

>> I agree with Laurent (bourgesl), see his comment on May 15 regarding to xor:
>> using Unsafe is only 2% faster, not worth the extra complexity for few percent.
>
> A small update of the XorINodes type calculation makes the bound check go away. Testing now.

That bounds check shouldn't be there, it's an obvious case and will be fixed: https://github.com/openjdk/jdk/pull/4136

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

PR: https://git.openjdk.java.net/jdk/pull/3938


More information about the core-libs-dev mailing list