Skip to content

Commit 5246b3c

Browse files
authored
Merge pull request OpenHFT#51 from hehe307/master
Update LockInventory.java
2 parents 18d18fa + 6149523 commit 5246b3c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ public final synchronized void set(CpuLayout cpuLayout) {
8383
for (int i = 0; i < cpuLayout.cpus(); i++) {
8484
final boolean base = AffinityLock.BASE_AFFINITY.get(i);
8585
final boolean reservable = AffinityLock.RESERVED_AFFINITY.get(i);
86-
87-
LOGGER.trace("cpu " + i + " base={} reservable= {}", i, base, reservable);
86+
LOGGER.trace("cpu {} base={} reservable= {}", i, base, reservable);
8887
AffinityLock lock = logicalCoreLocks[i] = newLock(i, base, reservable);
8988

9089
int layoutId = lock.cpuId();
@@ -213,4 +212,4 @@ private void releaseAffinityLock(final Thread t, final AffinityLock al, final St
213212

214213
LockCheck.releaseLock(al.cpuId());
215214
}
216-
}
215+
}

0 commit comments

Comments
 (0)