Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Affinity library warning on Windows #16

Open
keiran-lawrey opened this issue May 8, 2022 · 1 comment
Open

Affinity library warning on Windows #16

keiran-lawrey opened this issue May 8, 2022 · 1 comment
Labels

Comments

@keiran-lawrey
Copy link
Contributor

No description provided.

@keiran-lawrey keiran-lawrey changed the title Affinity library warning on WI]ndows Affinity library warning on Windows May 8, 2022
@keiran-lawrey
Copy link
Contributor Author

[main/disk~space~checker] WARN net.openhft.affinity.Affinity - Windows JNA-based affinity not usable because it failed to load! Reason: java.lang.NoSuchMethodError: com.sun.jna.Native.load(Ljava/lang/String;Ljava/lang/Class;)Lcom/sun/jna/Library;
	at net.openhft.affinity.impl.WindowsJNAAffinity$CLibrary.<clinit>(WindowsJNAAffinity.java:157)
	at net.openhft.affinity.impl.WindowsJNAAffinity.getAffinity0(WindowsJNAAffinity.java:100)
	at net.openhft.affinity.impl.WindowsJNAAffinity.getAffinity(WindowsJNAAffinity.java:64)
	at net.openhft.affinity.impl.WindowsJNAAffinity.<clinit>(WindowsJNAAffinity.java:49)
	at net.openhft.affinity.Affinity.isWindowsJNAAffinityUsable(Affinity.java:87)
	at net.openhft.affinity.Affinity.<clinit>(Affinity.java:45)
	at net.openhft.chronicle.core.threads.CleaningThread.run(CleaningThread.java:150)

[main/disk~space~checker] INFO net.openhft.affinity.Affinity - Using dummy affinity control implementation

BTW disk space checker doesn't need affinity so this initialization should be lazy

@tgd tgd added the review label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants