RFR: 7091: JOverflow Instance View table should be sortable by clicking headers
Alex Macdonald
aptmac at openjdk.java.net
Fri Oct 15 20:13:05 UTC 2021
This PR addresses JMC-7091 [[0]](https://bugs.openjdk.java.net/browse/JMC-7091), in which the tree viewer in the JOverflow instances tab does not allow the table to be sorted via the column headers. Currently the viewer column headers do not perform any action when clicked. Now a comparator have been added to the viewer which sorts based on the column header (String comparison for the Name & Value columns, Integer for the Size column).
Screenshot:

Gif:

[0] https://bugs.openjdk.java.net/browse/JMC-7091
-------------
Commit messages:
- 7091: JOverflow Instance View table should be sortable by clicking headers
Changes: https://git.openjdk.java.net/jmc/pull/322/files
Webrev: https://webrevs.openjdk.java.net/?repo=jmc&pr=322&range=00
Issue: https://bugs.openjdk.java.net/browse/JMC-7091
Stats: 60 lines in 1 file changed: 54 ins; 1 del; 5 mod
Patch: https://git.openjdk.java.net/jmc/pull/322.diff
Fetch: git fetch https://git.openjdk.java.net/jmc pull/322/head:pull/322
PR: https://git.openjdk.java.net/jmc/pull/322
More information about the jmc-dev
mailing list