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?
On Mac OS X threads (and by extension Java threads) are scheduled
across all available processing cores (virtual or physical), they are
not bound to any particular core.
2. Is there a relatively easy way to monitor which thread is on
which processor?
Define easy :)
On Mac OS X it is safe to assume that a given threads (if it exists
for an reasonable amount of time in a runnable state) will, during
its life, run on all cores available in the system.
-Shawn
_______________________________________________
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