timing: Cancel previous flame graph build job
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Tue, 14 Feb 2017 18:42:09 +0000 (13:42 -0500)
committerGenevieve Bastien <gbastien+lttng@versatic.net>
Mon, 20 Feb 2017 19:47:51 +0000 (14:47 -0500)
commit368fa3911ca11d1451ffde6d5c9f48ef6f800e0f
treea3d184a4b69bb6da38182c19407d9331f62084f1
parentf2fa3ef0dfaeaf041de5d9505b046a7318e1b1f3
timing: Cancel previous flame graph build job

Fixes bug 512195

The flame graph view was previously waiting for the previous job to
finish, waiting to acquire the lock, often in the UI thread. Now the
previous job is cancelled before acquiring the view's lock.

Change-Id: I36562822628e93560eefd26fc89cbf02d9469557
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Reviewed-on: https://git.eclipse.org/r/91086
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
analysis/org.eclipse.tracecompass.analysis.timing.ui/src/org/eclipse/tracecompass/internal/analysis/timing/ui/flamegraph/FlameGraphView.java
This page took 0.024994 seconds and 5 git commands to generate.