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

Use milliseconds for registering itimer #236

Closed mridulm closed 6 years ago

mridulm commented 6 years ago

setSamplingInterval takes milliseconds as parameters for minInterval and maxInterval. These are used to compute itimer interval; but treated as seconds while registering timer.

mridulm commented 6 years ago

(accidental close, apologies)

RichardWarburton commented 6 years ago

Thanks for the PR, surprised this hasn't been spotted until now!