RFR (S) 8150465: Unsafe methods to produce uninitialized arrays

Aleksey Shipilev aleksey.shipilev at oracle.com
Mon Feb 29 16:32:49 UTC 2016


On 27.02.2016 02:41, John Rose wrote:
> +1 on recommending a fence op in the Java-doc. 
> 
> Also +1 on recommending keeping it in a local. That's overkill, but simple and safe to follow. 

Thanks Jim, John and Andrew for chiming in.

Let's see if this Javadoc variant floats:
  http://cr.openjdk.java.net/~shade/8150465/webrev.jdk.04/
  http://cr.openjdk.java.net/~shade/8150465/webrev.hs.04/

-Aleksey



More information about the jdk9-dev mailing list