RFR 8136924 Vectorized support for array equals/compare/mismatch using Unsafe

Paul Sandoz paul.sandoz at oracle.com
Wed Dec 2 16:59:04 UTC 2015


> On 2 Dec 2015, at 17:16, Peter Levart <peter.levart at gmail.com> wrote:
> 
> Hi Paul,
> 
> Just a nit more:
> 
> 120         int valuesPerWidth = LOG2_ARRAY_LONG_INDEX_SCALE - log2ArrayIndexScale;
> 
> Would it be more correct to call that variable log2ValuesPerWidth?
> 

Yes, good point. Updated.  I also used the constant LOG2_ARRAY_INT_INDEX_SCALE instead of 2, here:

 138         if (log2ArrayIndexScale < LOG2_ARRAY_INT_INDEX_SCALE) {


Thanks,
Paul.

> Regards, Peter
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20151202/3e9e0ece/signature.asc>


More information about the hotspot-compiler-dev mailing list