RFR: 8139674: aarch64: guarantee failure in TestOptionsWithRanges.java

Andrew Haley aph at redhat.com
Thu Oct 15 16:54:39 UTC 2015


On 10/15/2015 05:40 PM, Edward Nevill wrote:
> On Thu, 2015-10-15 at 16:55 +0100, Andrew Haley wrote:
>> On 10/15/2015 04:51 PM, Edward Nevill wrote:
> 
>> Thanks.  Do we know that it cannot overflow even the +ve offset range?
> 
> Yes. Because mdp points at the method data struct, so all the fields are small positive offsets. The problem happens when you increment mdp after all the args at the end of the mdp struct. Then the offset can become <= -256.

OK, looks good.

Thanks,
Andrew.




More information about the hotspot-compiler-dev mailing list