Issues with dtraceasm, and a workaround
Aleksey Shipilev
shade at redhat.com
Thu Feb 18 12:45:06 UTC 2021
On 2/18/21 1:24 PM, Aleksey Shipilev wrote:
> Hold on. So if we call Process.destroy, then we also close all the streams at the same time?
> https://bugs.openjdk.java.net/browse/JDK-8216990
>
> Whoa. So even the workaround above does not work reliably, as it races with the profiler process: if
> we are lucky, profiler would succeed in dumping the output after the first SIGTERM, until
> Process.destroy comes and closes everything. Hm.
I do not have Mac OS to reproduce this, so can anyone else to give the following patch a spin on Mac
OS and -prof dtraceasm?
https://github.com/openjdk/jmh/pull/22
--
Thanks,
-Aleksey
More information about the jmh-dev
mailing list