Blackhole.consume(Object) has different semantics to Blackhole.consume(primitive)

Aleksey Shipilev aleksey.shipilev at oracle.com
Wed Nov 12 14:39:48 UTC 2014


Thanks, pushed.

-Aleksey.

On 11/12/2014 05:35 PM, Nitsan Wakart wrote:
> Looks good
> 
>> On 12 Nov 2014, at 06:10, Aleksey Shipilev <aleksey.shipilev at oracle.com> wrote:
>>
>>> On 11/12/2014 04:34 PM, Aleksey Shipilev wrote:
>>>> On 11/12/2014 04:31 PM, Aleksey Shipilev wrote:
>>>>> On 11/12/2014 03:49 PM, Aleksey Shipilev wrote:
>>>>> If you are concerned with the absence of volatile reads for reference
>>>>> consumes, we may add the volatile "spoiler" there to get the same
>>>>> effect. That will break the perceived consistency from ARM case -- seems
>>>>> to be the lesser evil.
>>>>
>>>> Filed:
>>>> https://bugs.openjdk.java.net/browse/CODETOOLS-7901095
>>>
>>> Would that be a solution you are looking for, Nitsan?
>>> http://cr.openjdk.java.net/~shade/7901095/webrev.01/
>>
>> Update:
>> http://cr.openjdk.java.net/~shade/7901095/webrev.02/
>>
>> -Aleksey.
>>
>>




More information about the jmh-dev mailing list