Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More multiprocessing questions



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.

_______________________________________________
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

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.