Open GoogleCodeExporter opened 9 years ago
This crashing behavior seems really odd and I can't reproduce it? The total
number of threads should be NUM_PROCESSORS^2, which is a reasonable (though
large) number for any JVM.
Could use use the new fork/join stuff in Java 7 to do the recursive calling
you're talking about?
Original comment by David.Ju...@gmail.com
on 26 Sep 2011 at 5:16
I've not been able to replciate the crashing behavior relaibly, but I have seen
it in two different sets of code that i've tried using. This may be due to the
machines i'm using and less to do with the code.
Having a lot of threads isn't really an issue for the JVM, but it is when the
user reuqests X threads and we use NUM_PROCESSORS^2 threads. Almost all uses
of the WorkQueue result in using as many threads as available, and, for
example, ignoring the -t option in GenericMain. We still need some mechanism
for limiting the number of threads created throughout the code so that our code
doesn't dominate a shared machine.
Original comment by FozzietheBeat@gmail.com
on 29 Sep 2011 at 9:15
Original issue reported on code.google.com by
FozzietheBeat@gmail.com
on 23 Sep 2011 at 5:19