Click here to Skip to main content
15,896,437 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Hi all,

how many maximum threads we can have per JVM?

Thanks

Satish

Posted

1 solution

I believe it is variable (depends on memory settings and such), but if you have the computer in question to test on, you can test it out.

Additionally, the maximum number of threads, priority assigned and order of interrupts are undefined within the JVM specification. This is due to slight differences in implementation depending on the hardware and underlying OS. As a simple example, the same code running on the same JVM under the same version of Windows will handle interrupts and assign thread priority differently depending on the CPU being used.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900