mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Reduce System.out in tests and in general, https://github.com/OpenHFT/OpenHFT/issues/42
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user