lower FJ threads priority

This commit is contained in:
Egor.Ushakov
2016-07-21 13:35:56 +03:00
parent 1c451db9ad
commit d1a70e6b65
@@ -41,6 +41,7 @@ public class IdeaForkJoinWorkerThreadFactory implements ForkJoinPool.ForkJoinWor
}
};
thread.setName("JobScheduler FJ pool " + n + "/" + PARALLELISM);
thread.setPriority(Thread.NORM_PRIORITY - 1);
return thread;
}