summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Dumais2012-12-10 11:17:20 (EST)
committer William Swanson2012-12-11 11:34:40 (EST)
commit601d922e22cb6291511f0d7ff16d9d6e4950bb1f (patch)
treed3ba1a2187434dff938e929cdea7613590913f12
parentc916dfe4e71389790a361876c4b19a1599b6db10 (diff)
downloadorg.eclipse.cdt-601d922e22cb6291511f0d7ff16d9d6e4950bb1f.zip
org.eclipse.cdt-601d922e22cb6291511f0d7ff16d9d6e4950bb1f.tar.gz
org.eclipse.cdt-601d922e22cb6291511f0d7ff16d9d6e4950bb1f.tar.bz2
Bug 396184 - [visualizer] - m_cpuMap and m_coreMap are not cleared whenrefs/changes/37/9137/4
re-caching Change-Id: I68147082d4c0948b03d3efe7487ec75c8daa7cbf Reviewed-on: https://git.eclipse.org/r/9137 Reviewed-by: William Swanson <traveler@tilera.com> IP-Clean: William Swanson <traveler@tilera.com> Tested-by: William Swanson <traveler@tilera.com>
-rwxr-xr-xdsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizerCanvas.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizerCanvas.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizerCanvas.java
index 80adea4..59fd6cf 100755
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizerCanvas.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.multicorevisualizer.ui/src/org/eclipse/cdt/dsf/gdb/multicorevisualizer/internal/ui/view/MulticoreVisualizerCanvas.java
@@ -8,6 +8,7 @@
* Contributors:
* William R. Swanson (Tilera Corporation) - initial API and implementation
* Marc Dumais (Ericsson) - Bug 396076
+ * Marc Dumais (Ericsson) - Bug 396184
*******************************************************************************/
package org.eclipse.cdt.dsf.gdb.multicorevisualizer.internal.ui.view;
@@ -364,6 +365,8 @@ public class MulticoreVisualizerCanvas extends GraphicCanvas
m_cpus.clear();
m_cores.clear();
m_threads.clear();
+ m_cpuMap.clear();
+ m_coreMap.clear();
// For debugging purposes only, allows us to force a CPU count.
//int cpu_count = 0;