RFR: 7041: Add Percentage column based on Duration in stack trace view
Brice Dutheil
github.com+803621+bric3 at openjdk.java.net
Wed Jun 2 13:43:29 UTC 2021
On Tue, 1 Jun 2021 17:32:56 GMT, Suchita Chaturvedi <schaturvedi at openjdk.org> wrote:
> This PR address the enhancement requested by one of our customers where they were missing the percentage column by duration in stacktrace view which was available in JMC 5.5. Currently we have percentage column which is calculating the percentage based on event count and there is no way user can configure that.
>
> Since this functionality might not be used by many customers I have added a toggle icon in Stacktrace View so that user can set the view according to his preference and by default the new column will be hidden.
>
> Default view showing toggle icon:
> 
>
> Percentage By Duration Column :
> 
>
> Please review the change and let me know your valuable feedback on this.
Marked as reviewed by bric3 at github.com (no known OpenJDK username).
core/org.openjdk.jmc.flightrecorder/src/main/java/org/openjdk/jmc/flightrecorder/stacktrace/StacktraceModel.java line 420:
> 418: private final int itemsInFork;
> 419: private Integer selectedBranchIndex;
> 420: private final SimpleArray<IItem> allItems;
This file to update the copyright year to 2021
-------------
PR: https://git.openjdk.java.net/jmc/pull/257
More information about the jmc-dev
mailing list