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

Christian Thalinger christian.thalinger at oracle.com
Thu Feb 25 20:51:09 UTC 2016


> On Feb 25, 2016, at 10:11 AM, Aleksey Shipilev <aleksey.shipilev at oracle.com> wrote:
> 
> 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/

Thanks but I wanted the change in hotspot code too.

> 
> 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