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

Christian Thalinger christian.thalinger at oracle.com
Wed Nov 9 06:31:14 PST 2011


On Nov 9, 2011, at 3:11 PM, Vladimir Kozlov wrote:

> 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()).

I saw CollectedHeap::init_obj() but I was curious if there is something else I missed.  Thanks.

-- Chris

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