RFR (S) 7901096: Blackhole.consume(primitive) do two volatile reads

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu Nov 13 09:49:52 UTC 2014


Thank you, pushed.

-Aleksey.

On 13.11.2014 11:21, Sergey Kuksenko wrote:
> Looks good for me.
> 
> On 11/12/2014 07:54 PM, Aleksey Shipilev wrote:
>> Hi,
>>
>> I would like a second pair of eyes on this patch:
>>   https://bugs.openjdk.java.net/browse/CODETOOLS-7901096
>>   http://cr.openjdk.java.net/~shade/7901096/webrev.00/
>>
>> The patch makes the memory effects consistent with
>> Blackhole.consume(Object). It improves the performance on ARM
>> (expected), and keeps it the same on x86 (expected):
>>   http://cr.openjdk.java.net/~shade/7901096/performance.txt
>>
>> Thanks,
>> -Aleksey.
>>
> 




More information about the jmh-dev mailing list