tmf: Cleanup TmfStateValue to remove 1-level of indirection.
authorEtienne Bergeron <etienne.bergeron@gmail.com>
Thu, 28 Nov 2013 00:29:23 +0000 (19:29 -0500)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Thu, 28 Nov 2013 19:41:54 +0000 (14:41 -0500)
commit6f7e27a0a2a9abe657336d3c5b0b16c28d9c3d0d
treeaf36ed2793fc04a2320cbea3d2cf8d055ea2ea18
parentae46c654b5a643b12a92f1559e0fbb164cf9d7a3
tmf: Cleanup TmfStateValue to remove 1-level of indirection.

This is a refactoring to diminush the memory usage of the
StateSystem.

In the current implementation, each TmfStateValue has a
"box" for an other object (i.e. Integer, Double, String, ...).
We propose to remove this indirection and use the raw type inside
the corresponding type.

As an example, IntegerStateValue now contains an "int" instead
of an "Integer".

Change-Id: Iaa75172be42174ebd6dc7d9bdd434631077c0146
Signed-off-by: Etienne Bergeron <etienne.bergeron@gmail.com>
Reviewed-on: https://git.eclipse.org/r/19027
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Hudson CI
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statevalue/DoubleStateValue.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statevalue/IntegerStateValue.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statevalue/LongStateValue.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statevalue/NullStateValue.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statevalue/StringStateValue.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statevalue/TmfStateValue.java
This page took 0.025901 seconds and 5 git commands to generate.