Unterminated StackProfiler thread in case of failure of benchmark

Aleksey Shipilev aleksey.shipilev at oracle.com
Mon Jan 12 09:32:52 UTC 2015


Hi,

On 12/30/2014 05:35 PM, Evgeny Mandrikov wrote:
> 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.

Indeed, thanks:
 https://bugs.openjdk.java.net/browse/CODETOOLS-7901234

Thanks,
-Aleksey.



More information about the jmh-dev mailing list