mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Fix a thread safety issue ThreadLocalCopies triggered when running StringsMapMain.
This commit is contained in:
@@ -820,7 +820,7 @@ final class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, KI>,
|
||||
/**
|
||||
* called from a remote node when it wishes to propagate a remove event
|
||||
*/
|
||||
private void remotePut(@NotNull final Bytes inBytes, long hash2,
|
||||
void remotePut(@NotNull final Bytes inBytes, long hash2,
|
||||
final byte identifier, final long timestamp,
|
||||
long valuePos, long valueLimit) {
|
||||
|
||||
|
||||
@@ -1096,7 +1096,7 @@ final class TcpReplicator extends AbstractChannelReplicator implements Closeable
|
||||
* @param attached
|
||||
* @throws InterruptedException
|
||||
*/
|
||||
private void entriesFromBuffer(Attached attached) throws InterruptedException, IOException {
|
||||
void entriesFromBuffer(Attached attached) throws InterruptedException, IOException {
|
||||
for (; ; ) {
|
||||
|
||||
out.limit(in.position());
|
||||
|
||||
Reference in New Issue
Block a user