Thanks for all the responses everyone. Quite helpful.
Here are some more questions I've thought of about using a multi-
procesing machine with Java:
1. When a thread gets assigned to a given processor, is it tied to
that processor until it's death, or does the Kernel and/or JVM have
the ability to re-assign the thread to the other processor while
it's active? For example, suppose I write a Java application with
10 threads, and all of a sudden one of them starts throwing a ton
of work to something like the event dispatching thread. Assuming
the EDT would be tied to a processor, could the kernel or JVM
switch some (or all) of the other threads to the other processor
while active.
2. Is there a relatively easy way to monitor which thread is on
which processor?
Thanks.
These things are not part of the Java specs, AFAIK. So we have to
learn what every single operating system does (in this case Mac OS X).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden