Review request for JMC-JMC-4057: Adding experimental flame graph view.
Jie Kang
jkang at redhat.com
Mon Jul 8 20:03:38 UTC 2019
On Fri, Jun 21, 2019 at 11:19 AM Marcus Hirt <marcus at hirt.se> wrote:
>
> Hi all,
>
> Please review this change to add an experimental flame graph view.
> See known issues in the Jira.
>
> Also cleaning up some imports, and excluding JOverflow from the
> development launchers until JMC-6343 is fixed.
>
> Jira: https://bugs.openjdk.java.net/browse/JMC-4057
> Webrev: http://cr.openjdk.java.net/~hirt/JMC-4057/webrev.0/
Hi Marcus,
I have one comment below:
*
There are two spotbugs failures:
VA_FORMAT_STRING_USES_NEWLINE: For TraceTreeUtils.printTree:110, the
format string can use %n instead of /n for a platform-specific line
separator. The use of \n can also be altered in
TraceTreeUtils.printTree:104 to be platform-independent via
System.lineSeparator().
SBSC_USE_STRINGBUFFER_CONCATENATION: For TraceTreeUtils.indent:119,
spotbugs would prefer a StringBuilder/StringBuffer for building the
result.
Apart from this, I think this patch as an initial commit of this work
looks good! It worked for me on Fedora 30. For the record, I was not
able to view the launcher changes due to the webrev issue. I have
opened a JIRA issue [1] to track it and also supplied a potential fix
through the mailing list [2].
[1] https://bugs.openjdk.java.net/browse/JMC-6524
[2] http://mail.openjdk.java.net/pipermail/jmc-dev/2019-July/001226.html
Regards,
>
> Kind regards,
> Marcus
>
More information about the jmc-dev
mailing list