RFR(S): JDK-8054194 jstack crash: assert(handle != NULL) failed: JNI handle should not be null
Staffan Larsen
staffan.larsen at oracle.com
Mon Aug 25 10:58:19 UTC 2014
Dmitry,
Your changes look good (except missing spaces after commas). But what I do not understand is how this relates to the bug. The code in setImageAndSymbolPath() is not looking at the remote process, it’s just setting up data in the jstack process. How does killing the remote process affect this code? What am I missing?
/Staffan
On 21 aug 2014, at 14:56, Dmitry Samersoff <dmitry.samersoff at oracle.com> wrote:
> Hi Everyone,
>
> Please review small agent changes:
>
> http://cr.openjdk.java.net/~dsamersoff/JDK-8054194/webrev.01/
>
> Under windows, If jstack attempts to attach to java process that is
> being killed by someone else, GetStaticObjectField might return NULL.
>
> -Dmitry
>
> --
> Dmitry Samersoff
> Oracle Java development team, Saint Petersburg, Russia
> * I would love to change the world, but they won't give me the sources.
More information about the serviceability-dev
mailing list