Reduce System.out in tests and in general, https://github.com/OpenHFT/OpenHFT/issues/42

This commit is contained in:
Peter Lawrey
2020-12-10 11:37:59 +00:00
parent a07f1044ff
commit 1c0dfd04bc
2 changed files with 5 additions and 5 deletions
@@ -165,10 +165,10 @@ public abstract class MapEntryStages<K, V> extends HashEntryStages<K>
// bytes.writeLong(state);
// boolean newValueSizeIsPowerOf2 = ((newValueSize - 1L) & newValueSize) != 0;
// if (!newValueSizeIsPowerOf2 || newValueSize > 8L) {
// // if the new value size is 1, 2, 4, or 8, it is written not atomically only if
// // the user provided own marshaller and writes value byte-by-byte, that is very
// // unlikely. in this case the user should update acquire write lock before write
// // updates himself
// if the new value size is 1, 2, 4, or 8, it is written not atomically only if
// the user provided own marshaller and writes value byte-by-byte, that is very
// unlikely. in this case the user should update acquire write lock before write
// updates himself
// upgradeToWriteLock();
// }
}
@@ -86,7 +86,7 @@ public class LargeEntriesTest {
// String value = generateValue(entrySize);
// DirectBytes bytes = DirectStore.allocate(entrySize / 6).bytes();
// for (int i = 0; i < 5; i++) {
// // warmup to compression.
// warmup to compression.
// bytes.clear();
// SnappyStringMarshaller.INSTANCE.write(bytes, value);
// bytes.flip();