mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Cody tidy and optimise the tracing code.
This commit is contained in:
@@ -91,8 +91,7 @@ public class MapStress {
|
||||
secs[4].securityUltimateUnderlyingTicker = "RTYU";
|
||||
secs[4].securityUnderlyingTicker = "RTYU";
|
||||
|
||||
|
||||
Future<?>[] futures = new Future[N_WRITE_THREADS + N_READ_THREADS];
|
||||
Future<?>[] futures = new Future[N_WRITE_THREADS + N_READ_THREADS];
|
||||
for (int i = 0; i < N_WRITE_THREADS; i++) {
|
||||
String id = i + " -> ";
|
||||
futures[i] = executor.submit(() -> {
|
||||
|
||||
@@ -104,8 +104,7 @@ public class MapFileManager extends JMXFileManager implements MapFileManagerMBea
|
||||
map.createMappedStoreAndSegments(
|
||||
new PersistedChronicleHashResources(file));
|
||||
|
||||
|
||||
keyClass = map.keyType();
|
||||
keyClass = map.keyType();
|
||||
valueClass = map.valueType();
|
||||
size = map.longSize();
|
||||
name = map.name();
|
||||
|
||||
Reference in New Issue
Block a user