Remove stack size hard limit for WAITER_POOL in WindowsSubprocess.java
This is a similar fix as
RELNOTES: None
@@ -114,13 +114,16 @@ public class WindowsSubprocess implements Subprocess {
}
private static final AtomicInteger THREAD_SEQUENCE_NUMBER = new AtomicInteger(1);
- private static final ExecutorService WAITER_POOL = Executors.newCachedThreadPool(
+ private static final ExecutorService WAITER_POOL =
+ Executors.newCachedThreadPool(
new ThreadFactory() {
@Override
public Thread newThread(Runnable runnable) {
- Thread thread = new Thread(null, runnable,
- "Windows-Process-Waiter-Thread-" + THREAD_SEQUENCE_NUMBER.getAndIncrement(),
- 16 * 1024);
+ Thread thread =
+ new Thread(
+ null,
+ runnable,
+ "Windows-Process-Waiter-Thread-" + THREAD_SEQUENCE_NUMBER.getAndIncrement());
thread.setDaemon(true);
return thread;
}
