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

Christian Thalinger christian.thalinger at oracle.com
Fri Feb 26 18:46:31 UTC 2016


> On Feb 25, 2016, at 11:18 AM, Aleksey Shipilev <aleksey.shipilev at oracle.com> wrote:
> 
> On 02/25/2016 11:51 PM, Christian Thalinger wrote:
>> 
>>> 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.
> 
> That wasn't made obvious.
> 
> Here you go:
>  http://cr.openjdk.java.net/~shade/8150465/webrev.jdk.02/
>  http://cr.openjdk.java.net/~shade/8150465/webrev.hs.04/

Looks good.

> 
> -Aleksey
> 
> 



More information about the jdk9-dev mailing list