IBM Java J9 v6 hardware and software limits for the number of threads on 64-bit Windows?


Can somebody point me to documentation on hard and soft limits of number of threads J9 v6 under Windows 64 bit?

The pages at:

refer to some AIX/Linux "scaling support":

but don't seem to offer information for Windows.


For a 32-bit VM, the thread stack size is a limiting factor, however for a 64-bit VM, the thread limit doesn't appear to be dependant on the stack size.

The simplest thing to do is to create lots of threads and see at what point it fails.

Testing on Linux 64-bit the limit appears to be about 32,000

Given most computers have only 2 - 24 logical threads, creating much more than this can mean more overhead than benefit, unless you have a heavily IO bound process.