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

Paul Sandoz paul.sandoz at oracle.com
Mon Nov 30 15:21:34 UTC 2015


> On 25 Nov 2015, at 10:53, Paul Sandoz <Paul.Sandoz at oracle.com> wrote:
> 
> Hi,
> 
> And this is the review for the Java part:
> 
>  http://cr.openjdk.java.net/~psandoz/jdk9/JDK-8136924-arrays-mismatch-vectorized-unsafe/webrev/
> 
> Which will be updated to add @HotSpotIntrinsicCandidate when JDK-8143355 is pushed. [1]
> 
> The plan is all reviewed changes will be pushed to hs-comp and then we follow up:
> 
>  1) adding the intrinsic to other platforms
> 
>  2) improving C1 (perhaps even the interpreter?) since the intrinsic is a stub which IIUC makes it easier to plug in.
> 
>  3) take a swing at consolidating other equal/compare intrinsics, such as those for char[]/String-based equal/compare
> 
>  4) adding methods to String such as mismatch method.
> 
> I can help by pushing all reviewed patches. I will kick off a JPRT run with all patches applied.
> 

JPRT runs for both core and hotspot tests report no issues.

Paul.

> I did evaluate/test the HotSpot patch (stared at the patch and generated code for UseAVX < 2, and measured) and reviewed with my limited knowledge of HotSpot.
> 
> Paul.
> 

-------------- 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/20151130/0e98ded2/signature.asc>


More information about the hotspot-compiler-dev mailing list