https://github.com/thinkaurelius/titan
Revision 1f6f9503c5a6120da4cba0dea8fbab6fb27624be authored by Dan LaRocque on 17 December 2014, 14:24:38 UTC, committed by Dan LaRocque on 17 December 2014, 14:24:38 UTC
This commit adds the `graph.kryo-instance-cache` option. It takes either the value THREAD_LOCAL (default) or CONCURRENT_HASH_MAP. This commit effectively restores the old Kryo caching behavior of KryoSerializer, where it stored Kryos in a ThreadLocal, and where those ThreadLocals are not necessarily removed when Titan shuts down. The CHM setting provides an alternative that, unlike ThreadLocal, is exposed to synchronization overhead when retrieving cached Kryos, but which also releases all of its cached Kryo references when the graph is shutdown. For #840
1 parent 8d4cb4c
Tip revision: 1f6f9503c5a6120da4cba0dea8fbab6fb27624be authored by Dan LaRocque on 17 December 2014, 14:24:38 UTC
Support ThreadLocal and CHM for Kryo caching
Support ThreadLocal and CHM for Kryo caching
Tip revision: 1f6f950
File | Mode | Size |
---|---|---|
docs | ||
titan-all | ||
titan-berkeleyje | ||
titan-cassandra | ||
titan-core | ||
titan-dist | ||
titan-es | ||
titan-hadoop-parent | ||
titan-hbase-parent | ||
titan-lucene | ||
titan-rexster | ||
titan-solr | ||
titan-test | ||
.gitignore | -rw-r--r-- | 1.1 KB |
CHANGELOG.asc | -rw-r--r-- | 23.3 KB |
LICENSE.txt | -rw-r--r-- | 11.1 KB |
NOTICE.txt | -rw-r--r-- | 5.8 KB |
README.textile | -rw-r--r-- | 2.0 KB |
RELEASING.md | -rw-r--r-- | 3.5 KB |
TESTING.md | -rw-r--r-- | 3.7 KB |
UPGRADE.asc | -rw-r--r-- | 15.5 KB |
jre6.xslt | -rw-r--r-- | 1.5 KB |
pom.xml | -rw-r--r-- | 69.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...