RFR: 8202342: [Graal] fromTonga/nsk/jvmti/unit/FollowReferences/followref003/TestDescription.java fails with "Location mismatch" errors

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Tue Aug 21 03:06:40 UTC 2018


Hi Daniil,

Looks good.

Thanks,
Serguei



On 8/16/18 19:04, Daniil Titov wrote:
> Please review the change that fix the test failure when running with Graal.
>
> There are 2 problems here. The first one is that when running with Graal the number of local references reported by JVMTI FollowReferences () to the callback exceeds the size of the array  ( 100 ) the test uses for storing them. The second issue is that the test explicitly checks that the frame depth is in 0..50 range while the frame depth for some of the references reported by the compiler thread may exceed this limit.
>
> The fix ensures that only local references from the main thread are processed by the test and local references from other (e.g. compiler) threads are ignored.
>
> Webrev: http://cr.openjdk.java.net/~dtitov/8202342/webrev.01
> Issue: https://bugs.openjdk.java.net/browse/JDK-8202342
>
>
> Thanks,
> Daniil
>
>



More information about the serviceability-dev mailing list