mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
log excessive creation of threads in thread pool
This commit is contained in:
@@ -143,6 +143,9 @@ public class ApplicationImpl extends ComponentManagerImpl implements Application
|
||||
}
|
||||
}
|
||||
};
|
||||
if (ApplicationInfoImpl.getShadowInstance().isEAP() && i > 10) {
|
||||
LOG.info("Not enough pooled threads; creating one at:", new Throwable());
|
||||
}
|
||||
thread.setPriority(Thread.NORM_PRIORITY - 1);
|
||||
return thread;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user