Question about benchmark finish and non daemon threads

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu Jun 25 13:18:32 UTC 2015


Hi Zoltan,

On 06/25/2015 03:29 PM, Zoltan Farkas wrote:
> I see at the end of the benchmark:
> 
> <JMH had finished, but forked VM did not exit, are there stray
> running threads? Waiting 14 seconds more…>
> 
> Would it be possible before to add some code to list the non daemon
> threads still running? would help with troubleshooting…

Is there a reason you can't use "jstack" against the forked VM to figure
this out?

-Aleksey.



More information about the jmh-dev mailing list