Blackhole.consume(Object) has different semantics to Blackhole.consume(primitive)
Aleksey Shipilev
aleksey.shipilev at oracle.com
Wed Nov 12 13:31:34 UTC 2014
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
Thanks,
-Aleksey.
More information about the jmh-dev
mailing list