analysis: Fix IndexOutOfBoundsException in ResourcesView
authorPatrick Tasse <patrick.tasse@gmail.com>
Tue, 3 Nov 2015 22:57:04 +0000 (17:57 -0500)
committerPatrick Tasse <patrick.tasse@gmail.com>
Thu, 10 Dec 2015 14:26:21 +0000 (09:26 -0500)
commit0bacba1a1b0008b6822be67222da2690323a8a3f
tree9e1f200c639aa804c3f3fb2819b3d11ed501ed6a
parent2a52b85b0a4a86d1682940a1adacbcd25db429d3
analysis: Fix IndexOutOfBoundsException in ResourcesView

This can happen if a new IRQ or SoftIRQ attribute is created
concurrently with a zoom thread that has already queried the state
system for a full state that does not include the new attribute.

The zoom thread can then provide the full state to the ResourcesView to
get the event list of an IRQ or SoftIRQ entry that did not exist at the
time that the full state was created.

Change-Id: I1c5f8a8332f44b44f1954b01c3503a844dedc22e
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/59616
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
analysis/org.eclipse.tracecompass.analysis.os.linux.ui/src/org/eclipse/tracecompass/analysis/os/linux/ui/views/resources/ResourcesView.java
This page took 0.02554 seconds and 5 git commands to generate.