Skip to content

Commit dc44cbb

Browse files
committed
Add affinity to multi-threaded performance tests
1 parent 924b541 commit dc44cbb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

affinity/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
<groupId>net.openhft</groupId>
2424
<artifactId>affinity</artifactId>
25-
<version>2.0-SNAPSHOT</version>
25+
<version>2.0.1-SNAPSHOT</version>
2626
<packaging>bundle</packaging>
2727

2828
<name>OpenHFT/Java-Thread-Affinity</name>

affinity/src/main/java/net/openhft/affinity/AffinityLock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public static void cpuLayout(@NotNull CpuLayout cpuLayout) {
8888
if (cpuLayout.equals(AffinityLock.cpuLayout))
8989
return;
9090
AffinityLock.cpuLayout = cpuLayout;
91-
System.out.println("Locks= " + cpuLayout.cpus());
91+
// System.out.println("Locks= " + cpuLayout.cpus());
9292
LOCKS = new AffinityLock[cpuLayout.cpus()];
9393
int threads = cpuLayout.threadsPerCore();
9494
CORES = new TreeMap<Integer, AffinityLock[]>();

0 commit comments

Comments
 (0)