Question about Unsafe.prefetch ... () ?

Christian Thalinger christian.thalinger at oracle.com
Thu Aug 14 14:46:12 UTC 2014


[#JDK-6807143] Unsafe.java changes corresponding to 6353211 - Java Bug System

On Aug 14, 2014, at 7:32 AM, Roman Kennke <rkennke at redhat.com> wrote:

> Hello,
> 
> I noticed that in Hotspot there are intrinsics defined for
> Unsafe.prefetchRead(), Unsafe.prefetchWrite(),
> Unsafe.prefetchReadStatic() and Unsafe.prefetchWriteStatic(), but none
> of them are defined in JDK's Unsafe.java nor is it called anywhere. Is
> this code used for anything? Why is it there?
> 
> Thanks and best regards,
> Roman
> 
> 



More information about the hotspot-dev mailing list