jvm-profiling-tools / honest-profiler

A sampling JVM profiler without the safepoint sample bias
https://github.com/RichardWarburton/honest-profiler/wiki
MIT License
1.25k stars 146 forks source link

Fix unresponsiveness of agent when sampling duration is large #235

Closed mridulm closed 6 years ago

mridulm commented 6 years ago

When sampling interval is set to a large value (10's of seconds), VM does not respond to exit and/or Agent.stop() blocks until the sampling duration has elapsed due to Processor sleep'ing.

RichardWarburton commented 6 years ago

Thanks for your contribution @mridulm