Fixed deadlock between Profiler::stop() and flushJfr()
Fixed deadlock between Profiler::stop() and flushJfr()

jvm-profiling-tools/async-profiler,jvm-profiling-tools/async-profiler,apangin/async-profiler,apangin/async-profiler,apangin/async-profiler,jvm-profiling-tools/async-profiler,jvm-profiling-tools/async-profiler,apangin/async-profiler,jvm-profiling-tools/async-profiler