Question about Unsafe.prefetch ... () ?

Christian Thalinger christian.thalinger at oracle.com
Thu Aug 14 14:48:00 UTC 2014


Sorry, the link didn’t come through:

https://bugs.openjdk.java.net/browse/JDK-6807143

On Aug 14, 2014, at 7:46 AM, Christian Thalinger <christian.thalinger at oracle.com> wrote:

> [#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