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

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu Feb 25 21:18:36 UTC 2016


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/

-Aleksey




More information about the jdk9-dev mailing list