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

Edward Nevill edward.nevill at gmail.com
Thu Oct 15 16:40:58 UTC 2015

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?
> Andrew.

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.

All the best,

More information about the hotspot-compiler-dev mailing list