tmf: fix bug 489217. Use of ArrayListStore instead of TreeMapStore
authorJean-Christian Kouame <jean-christian.kouame@ericsson.com>
Fri, 20 May 2016 15:22:27 +0000 (11:22 -0400)
committerJean-Christian Kouame <jean-christian.kouame@ericsson.com>
Thu, 26 May 2016 19:24:33 +0000 (15:24 -0400)
Use of ArrayListStore instead of TreeMapStore for the pattern analysis

Change-Id: Ie247297936a4cf89b8bdf7b53b48625ce3cf34cd
Signed-off-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/73306
Reviewed-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
analysis/org.eclipse.tracecompass.analysis.timing.core/META-INF/MANIFEST.MF
tmf/org.eclipse.tracecompass.tmf.analysis.xml.core/src/org/eclipse/tracecompass/internal/tmf/analysis/xml/core/pattern/stateprovider/XmlPatternSegmentStoreModule.java

index 595fc4ab6d888fbffe43a88400ea65de2c9d13da..9a5489390fcd223d755f96fd3cc7eefe1318b973 100644 (file)
@@ -17,6 +17,6 @@ Require-Bundle: org.eclipse.ui,
 Export-Package: org.eclipse.tracecompass.analysis.timing.core.segmentstore,
  org.eclipse.tracecompass.analysis.timing.core.segmentstore.statistics,
  org.eclipse.tracecompass.internal.analysis.timing.core,
- org.eclipse.tracecompass.internal.analysis.timing.core.store;x-friends:="org.eclipse.tracecompass.analysis.timing.core.tests"
+ org.eclipse.tracecompass.internal.analysis.timing.core.store;x-friends:="org.eclipse.tracecompass.analysis.timing.core.tests,org.eclipse.tracecompass.tmf.analysis.xml.core"
 Import-Package: com.google.common.collect,
  com.google.common.hash
index aac5d322c163dccb8eee646385f18956ad76cc86..c3654f9308abd23ed71903a6103427a025e69bff 100644 (file)
@@ -19,9 +19,9 @@ import org.eclipse.jdt.annotation.NonNull;
 import org.eclipse.jdt.annotation.Nullable;
 import org.eclipse.tracecompass.analysis.timing.core.segmentstore.AbstractSegmentStoreAnalysisModule;
 import org.eclipse.tracecompass.analysis.timing.core.segmentstore.IAnalysisProgressListener;
+import org.eclipse.tracecompass.internal.analysis.timing.core.store.ArrayListStore;
 import org.eclipse.tracecompass.segmentstore.core.ISegment;
 import org.eclipse.tracecompass.segmentstore.core.ISegmentStore;
-import org.eclipse.tracecompass.segmentstore.core.treemap.TreeMapStore;
 import org.eclipse.tracecompass.tmf.core.exceptions.TmfAnalysisException;
 import org.eclipse.tracecompass.tmf.core.trace.ITmfTrace;
 
@@ -38,7 +38,7 @@ public class XmlPatternSegmentStoreModule extends AbstractSegmentStoreAnalysisMo
      * Fake segment indicated that the last segment have been received
      */
     public static final @NonNull EndSegment END_SEGMENT = new EndSegment();
-    private final ISegmentStore<@NonNull ISegment> fSegments = new TreeMapStore<>();
+    private final ISegmentStore<@NonNull ISegment> fSegments = new ArrayListStore<>();
     private final CountDownLatch fFinished = new CountDownLatch(1);
     private final @NonNull XmlPatternAnalysis fParent;
     private boolean fSegmentStoreCompleted;
This page took 0.026576 seconds and 5 git commands to generate.