I searched for this and only found “unused imports” “increase of performance” “cloud computing” etc. questions…
So my question is:
How do I make a thread in java only use cpu power that’s not needed for another program?
I can set the thread to lowest priority, but I still measure relatively high performance drops for other programs running on the computer.
Setting the priority is the only thing you can do. How are you doing it? And what is the thread doing? Perhaps CPU usage is not the problem at all, but harddisk access.