We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 227b542 commit 8a32303Copy full SHA for 8a32303
1 file changed
src/main/java/vanilla/java/affinity/AffinityLock.java
@@ -75,7 +75,6 @@ public static void cpuLayout(CpuLayout cpuLayout) {
75
synchronized (AffinityLock.class) {
76
AffinityLock.cpuLayout = cpuLayout;
77
LOCKS = new AffinityLock[cpuLayout.cpus()];
78
- int cores = cpuLayout.sockets() * cpuLayout.coresPerSocket();
79
int threads = cpuLayout.threadsPerCore();
80
CORES = new TreeMap<Integer, AffinityLock[]>();
81
for (int i = 0; i < cpuLayout.cpus(); i++) {
0 commit comments