I need to test a program that says it will restrict the number of
processor cores being used. I was thinking of writing a program to
spawn 100 threads, each one performing some long, intensive
computation. Then from a console, I could see how many cores are being
used. If I write it in Java (Android), is there a guarantee that the
JVM/KVM will run the threads on different cores, and run them on all
the cores? (if the scheduler incorrectly used only one core when two
are allowed, then that will give me an incorrect result).

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to