jitwatch
jitwatch copied to clipboard
Add JMH in Sandbox
Would it be possible to somehow add JMH in the Sandbox window?
It would help to do microbench more correctly than using a hot loop.
Hi @Thihup I think it's possible but I can't comment on what interactions running JMH from within JITWatch might have on the results. I suppose if it's only for sandbox-type experiments it might be OK.
For less chance of side effects, I'd recommend running JMH with -XX:+LogCompilation on the command line and then loading the resulting log file into JITWatch which is something I do often and works fine.