mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user