Does “nice” affect the priority of Java threads
问题 On a Unix system, you can run a process at lower CPU priority using the nice command: nice program And you could use that to run a JVM process: nice java -jar program.jar The Java program run by that JVM process will start multiple threads. Does the nice change affect the scheduling of those Java threads? That is, will the Java threads have a lower CPU priority when run as nice java -jar program.jar that when run as java -jar program.jar In general, this will be system dependent, so I am