Request for reviews (S): 7109887: java/util/Arrays/CopyMethods.java fails with -XX:+DeoptimizeALot

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Nov 9 06:11:31 PST 2011


Thank you, Christian

Christian Thalinger wrote:
> Looks good.  Just a question:  is there no method that zeroes an array?

I only know CollectedHeap::init_obj() but it will zero array's length and we 
need to avoid it since GC already known about this array (from thread->vm_result()).

Thanks,
Vladimir

> 
> -- Chris
> 
> On Nov 9, 2011, at 5:13 AM, Vladimir Kozlov wrote:
> 
>> http://cr.openjdk.java.net/~kvn/7109887/webrev
>>
>> 7109887: java/util/Arrays/CopyMethods.java fails with -XX:+DeoptimizeALot
>>
>> In changes for 7081933 I forgot to zero array when compiled code is deoptimized.
>>
>> Tested with failed test.
>>
>> Thanks,
>> Vladimir
> 


More information about the hotspot-compiler-dev mailing list