Hi Cheleswer, is it possible to use j.u.c.CountDownLatch for synchronization instead of sleep?
Regards, Filipp. On Tue, Apr 5, 2016 at 1:23 PM, Cheleswer Sahu <cheleswer.s...@oracle.com> wrote: > Hi, > > > > Please review the code changes for > https://bugs.openjdk.java.net/browse/JDK-8153319. > > > > Webrev link: http://cr.openjdk.java.net/~csahu/8153319/ > > > > > > Bug Brief: Test is failing on some platforms. > > > > Problem Identified: Newly created child thread (NamedThread) is finished > its execution before main thread calls “jstack”, which result in test > failure. > > > > Solution Proposed: Set the child thread in sleep state for forever and make > sure that “jstack “ tool always gets executed after ” NamedThread” is > started. > > > > > > Regards, > > Cheleswer > > > >