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.samers...@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.