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

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu Feb 25 20:11:51 UTC 2016


On 02/25/2016 10:52 PM, Christian Thalinger wrote:
> +    public Object allocateArrayUninit(Class<?> componentType, int length) {
> 
> Can we use another name like allocateUninitializedArray?

Yes, we can:
  http://cr.openjdk.java.net/~shade/8150465/webrev.jdk.02/
  http://cr.openjdk.java.net/~shade/8150465/webrev.hs.03/

This was search-and-replace renaming, and the test is still working
fine. Haven't re-spinned JPRT for this one.

Cheers,
-Aleksey





More information about the jdk9-dev mailing list