ss: Rework the HTNode cache
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Thu, 14 Apr 2016 21:23:19 +0000 (17:23 -0400)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Mon, 4 Jul 2016 22:12:48 +0000 (18:12 -0400)
commit1f48ef6615540ff27fe91c838a2f5ced5fecad38
treeb4802de22e598bb42e5fc244523c0ebbd214476e
parent6c71802927cb6b477b660acffad05f754a995030
ss: Rework the HTNode cache

Reimplement the HTNode cache as a Guava LoadingCache. This
nicely abstracts the loading logic, and will also allow
making cache accesses multi-threaded.

This also changes the log points from CacheHit/CacheMiss to
CacheLookup/CacheMiss, since the "cache hit" branch is now
entirely part of the Guava library, so we cannot instrument
it. Same information is available, it will just have to be
computed differently.

Change-Id: I267008c69f9d6f4ada0257dee45b2a79902b8c84
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/70713
Reviewed-by: Hudson CI
Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
statesystem/org.eclipse.tracecompass.statesystem.core/META-INF/MANIFEST.MF
statesystem/org.eclipse.tracecompass.statesystem.core/src/org/eclipse/tracecompass/internal/statesystem/core/backend/historytree/HT_IO.java
This page took 0.024175 seconds and 5 git commands to generate.