Making DTraceAsm profiler more robust and fix a defect in all asm profilers

Aleksey Shipilev shade at redhat.com
Mon Oct 28 18:28:29 UTC 2019


Hi,

These are two different issues:

On 8/9/19 10:18 AM, Roman Leventov wrote:
> 1) Makes DTraceAsm profiler more robust if there are corrupt lines in the
> DTrace output file

https://bugs.openjdk.java.net/browse/CODETOOLS-7902530

> 2) If there is an I/O error reading any Asm output file, the error is
> propagated and printed. Before, a PerfEvents's constructor was called which
> invariably led to NPE in AbstractPerfAsmProfiler.java:967, consuming the
> actual failure reason. I've removed that constructor.

https://bugs.openjdk.java.net/browse/CODETOOLS-7902529

Both have patches attached to them, and they seem to pass testing. I would push them soon.

-- 
Thanks,
-Aleksey



More information about the jmh-dev mailing list