mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
allow to fork on two cores (virtualized environments often offer as many)
This commit is contained in:
@@ -168,7 +168,7 @@ public class JobUtilTest extends PlatformTestCase {
|
||||
@Override
|
||||
public boolean process(Object o) {
|
||||
try {
|
||||
if (objects.size() <= 1 || JobSchedulerImpl.CORES_COUNT <= 2) {
|
||||
if (objects.size() <= 1 || JobSchedulerImpl.CORES_COUNT <= JobLauncherImpl.CORES_FORK_THRESHOLD) {
|
||||
assertTrue(ApplicationManager.getApplication().isDispatchThread());
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user