RFR: 8145680: Remove unnecessary explicit initialization of volatile variables in java.base

Aleksey Shipilev aleksey.shipilev at oracle.com
Mon Dec 21 10:02:11 UTC 2015


On 12/21/2015 12:46 PM, Andrew Haley wrote:
>> See: "Speed-kings of inverting booleans" at
>> http://www.javaspecialists.eu/archive/Issue042.html
> 
> That's from 2002, and not valid any more.  Maybe not valid even back
> then.

It is not valid today, I've checked a while ago:
 http://cr.openjdk.java.net/~shade/scratch/BooleanNegate.java

-Aleksey




More information about the core-libs-dev mailing list