I wanna know about max thread number for one application.
You know Thread.activeCount() returns the number of active Threads in the running Thread's group and its subgroups.
If I can know the max number of threads to create in current activity, I can limit active threads.
I am using thread for http connection and catching Http response.
Thanks in advance.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…