treemapstore: make the iterator copy on read after write.
authorMatthew Khouzam <matthew.khouzam@ericsson.com>
Tue, 22 Sep 2015 19:26:31 +0000 (15:26 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Thu, 24 Sep 2015 22:55:48 +0000 (18:55 -0400)
commit4dafe201d93c6d2f6ff9ab955a8eebc88811bac3
tree8add532bf90545f0d0a30439b44296a63d1c2f0e
parent71e78f69aa555b47dbffa42b55809b30dc27233d
treemapstore: make the iterator copy on read after write.

This may appear to be an odd synchronization scheme, but
there are normally 1 million writes per read, and then at
the end there are no more writes, so this will minimize copies
of the data much more than a traditional copy on write.

Change-Id: I9d78bc2a1de788ca41742e57d0df45d42ac4642a
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/56468
Reviewed-by: Hudson CI
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
statesystem/org.eclipse.tracecompass.segmentstore.core/src/org/eclipse/tracecompass/segmentstore/core/treemap/TreeMapStore.java
This page took 0.024849 seconds and 5 git commands to generate.