async-profiler results overwritten with multiple forks

Aleksey Shipilev shipilev at amazon.de
Thu Sep 21 09:10:24 UTC 2023


Hi,

On 21.09.23 10:25, Jonas Konrad wrote:
> It seems like the path should include a fork number. Am I missing an
> option to do this? Otherwise I can make a patch.

Aw. Yes, try to make a patch that includes the fork number.

> It would also be nice to have some form of coalescing to get the results
> as a single flame graph, but I can do that in an external script since
> it seems like it would be a more difficult change.

Most profilers are able to aggregate the results from different forks. But they do that mostly in 
Java, because aggregation is done in host JVM. I think it is possible to run external scripts from 
aggregation code.

-- 
Thanks,
-Aleksey



Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879




More information about the jmh-dev mailing list