ss: Bug 454057: Use serialization to write the list of attributes to disk
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Fri, 10 Apr 2015 20:20:11 +0000 (16:20 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Mon, 13 Apr 2015 17:05:02 +0000 (13:05 -0400)
commitda66cc7548756c5d31aa6c1ba657697d4b5d7e68
treecae39e261eeab0fcee9e4fd13e448cda5a83e606
parenta890f4999d94ecc815c6563e6485c4be0291be34
ss: Bug 454057: Use serialization to write the list of attributes to disk

Simplify the writing of the Attribute Tree to disk by using the
fact that ArrayList is Serializable.

This makes the file format less portable, but the previous method
used String.getBytes(), which is also JVM-dependant. A proper
inter-operable (and more efficient) format could be implemented
at some point once the need arises.

Change-Id: I8622b0975852ed3e022a210dbd720eb4d0fe90f4
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/45682
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-by: Hudson CI
org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/internal/statesystem/core/AttributeTree.java
org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/internal/statesystem/core/backend/historytree/HistoryTree.java
This page took 0.032786 seconds and 5 git commands to generate.