RFR(XS): 8220352: Crash with assert(external_guard || result != __null) failed: Invalid JNI handle

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Wed Mar 13 18:50:41 UTC 2019


Hi Chris,

Looks good.

Thanks,
Serguei


On 3/12/19 23:28, Chris Plummer wrote:
> Hi,
>
> Please review the following:
>
> https://bugs.openjdk.java.net/browse/JDK-8220352
> http://cr.openjdk.java.net/~cjplummer/8220352/webrev.00/
>
> The possible use of an invalid jni handle is being avoided by not 
> deleting the globalrefs as the test exits. This is the same fix that 
> was applied to JDK-8172995 when the same situation turned up there.
>
> Before the fix I was able to reproduce the issue after 700 runs. I did 
> 1100 after the fix and did not see any problems.
>
> thanks,
>
> Chris



More information about the serviceability-dev mailing list