reduced threadlocal lookups

This commit is contained in:
Rob Austin
2014-10-29 16:48:17 +00:00
parent 99af8ce11e
commit 27fbe5c53d
3 changed files with 60 additions and 64 deletions
@@ -933,7 +933,7 @@ class StatelessChronicleMap<K, V> implements ChronicleMap<K, V>, Closeable {
}
private V readKey(final long sizeLocation) {
return keyValueSerializer.readValue(blockingFetch(sizeLocation));
return keyValueSerializer.readValue(blockingFetch(sizeLocation), null);
}
private V readKey(final long sizeLocation, ThreadLocalCopies local) {