Java-Thread-Affinity
Java-Thread-Affinity copied to clipboard
Control thread affinity for Java
Bumps [junit](https://github.com/junit-team/junit4) from 4.10 to 4.13.1. Release notes Sourced from junit's releases. JUnit 4.13.1 Please refer to the release notes for details. JUnit 4.13 Please refer to the release notes...
when invoking AffinityLock.acquireLock(),the exception ArrayIndexOutOfBoundsException occurs.what's the problem?
# Code part ```java package net.openhft.affinity; import java.util.BitSet; import static net.openhft.affinity.AffinityStrategies.*; //import static net.openhft.affinity.Affinity.*; /** * @author peter.lawrey */ public final class AffinityLockBindMainTest { private AffinityLockBindMainTest() { throw new InstantiationError(...
I try to set affinity to one thread, however, > If you want to get/set the affinity directly you can do ```java long currentAffinity = AffinitySupport.getAffinity(); AffinitySupport.setAffinity(1L
Hi there, SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. This shows up just before the printing of 'Hello...
Using mountain lion, testIssue21 fails. Can supply any details you require or is this a known issue ? Thanks
``` [INFO] --- maven-gpg-plugin:1.4:sign (sign-artifacts) @ affinity --- GPG Passphrase: * gpg: no default secret key: secret key not available gpg: signing failed: secret key not available [INFO] ------------------------------------------------------------------------ [INFO]...
Hi Peter, It would be nice to have some recipes on how to use your library. For example: I have two threads and two physical processors. I want to assign...
The Opteron 6100 series are physically two multi-core CPUs on the same socket and the "core id:" field in cpuinfo is reused between CPUs, resulting in VanillaCpuLayout.fromCpuInfo() incorrectly counting them...
Currenty there is little info about what's going on, apart from logging. That one is useful, but, yet again, we use log4j logging, so java.util.logging doesn't cope well. Info that...