Unterminated StackProfiler thread in case of failure of benchmark

Evgeny Mandrikov mandrikov at gmail.com
Tue Dec 30 14:35:13 UTC 2014


Hi Aleksey,

Seems that there is no notification for profilers in case of failure of
benchmark ( LoopBenchmarkHandler can exit with BenchmarkException before
reaching stopProfilers ) , so that forks won't be terminated if profiler
spawns thread. This is the case for StackProfiler and can be reproduced by
addition of ".addProfiler(StackProfiler.class)" into FailingForkedBenchTest.

-- 
Best regards,
Evgeny Mandrikov aka Godin <http://godin.net.ru>
http://twitter.com/_godin_


More information about the jmh-dev mailing list