RFR(S): 8205194: Improve the Array Comparison when there is a mismatch at first element.

Roger Riggs Roger.Riggs at Oracle.com
Tue Jun 19 15:14:32 UTC 2018


Hi Vivek,

Do you need to concerned that the arrays are zero length?

Are there any tests that test the zero length case.
(I assume you ran the existing tests).

Thanks, Roger


On 6/18/2018 7:52 PM, Deshpande, Vivek R wrote:
> Hi All
>
> Forgot to add the links:
> https://bugs.openjdk.java.net/browse/JDK-8205194
> webrev:
> http://cr.openjdk.java.net/~vdeshpande/vectorizedMismatch_jdk/webrev.00/
>
> Regards.
> Vivek
>
> From: Deshpande, Vivek R
> Sent: Monday, June 18, 2018 4:50 PM
> To: 'jdk-dev at openjdk.java.net' <jdk-dev at openjdk.java.net>
> Cc: 'Paul Sandoz' <paul.sandoz at oracle.com>; Viswanathan, Sandhya <sandhya.viswanathan at intel.com>
> Subject: RFR(S): 8205194: Improve the Array Comparison when there is a mismatch at first element.
>
> Hi All
>
> I would like to contribute a patch which improves the array comparison when there is a mismatch for the first element.
> This avoids call to vectorizedMismatch method and gives ~80x speed up.
> Please review and sponsor the patch.
>
> Regards,
> Vivek
>



More information about the core-libs-dev mailing list