Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Under the 'Show All RPC Handler Tasks' tab, the tasks are not sorted according to the duration they have been in the current state (see picture).
In TaskMonitorTmpl.jamon :
long now = System.currentTimeMillis(); Collections.reverse(tasks);
The underlying tasks are backed by CircularFifoBuffer, leading to ineffective sorting.
We should display tasks with the longest duration (in current state) first.