Request for reviews (M): 7039731: arraycopy could use prefetch on SPARC

Vladimir Kozlov vladimir.kozlov at oracle.com
Fri Sep 2 11:54:10 PDT 2011


Thank you, Tom

Tom Rodriguez wrote:
> I think this looks ok.  How did you settle on 64 bytes?

What do you mean? disjoint_long_copy_core() already did 64 bytes copy per 
iteration before these changes. For smaller element's sizes the shifting code is 
large enough to hide latency from compare and branch so it only copy 16 bytes 
per iteration.

Thanks,
Vladimir

> 
> tom
> 
> On Sep 2, 2011, at 9:57 AM, Vladimir Kozlov wrote:
> 
>> http://cr.openjdk.java.net/~kvn/7039731/webrev
>>
>> 7039731: arraycopy could use prefetch on SPARC
>>
>> Use BIS and prefetch in arraycopy stubs for Sparc (BIS for T4 only).
>>
>> Thanks,
>> Vladimir
> 


More information about the hotspot-compiler-dev mailing list