Merge remote-tracking branch 'origin/2.1' into 2.1

Conflicts:
	src/main/java/net/openhft/chronicle/map/TcpReplicator.java
This commit is contained in:
Rob Austin
2015-09-14 13:18:06 +01:00
60 changed files with 389 additions and 777 deletions
@@ -1703,7 +1703,6 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
super.close();
}
@Override
public void dontPutOnClose() {
if (removed)
@@ -1816,7 +1815,6 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
/* Methods with private access modifier considered private to Segment
* class, although Java allows to access them from outer class anyway.
*/
public final int getIndex() {
return index;
}
@@ -1950,7 +1948,6 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
}
long lockTime = System.nanoTime() - startWriteLock;
if (lockTime > 1e8 && LOG.isInfoEnabled())
LOG.info("Thread took " + lockTime / 1000000 + "ms to release the lock, (Was there a GC?)");
}
@@ -1966,7 +1963,6 @@ class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super KI>,
"replicated map");
}
final MultiStoreBytes reuse(MultiStoreBytes entry, long offset) {
entry.setBytesOffset(bytes, offset);
entry.position(metaDataBytes);