Thanks for replying - that removes one layer (KVM).

On Jan 25, 8:30 pm, Dianne Hackborn <[email protected]> wrote:
> Each Dalvik thread is a kernel thread.  The scheduling of these is fairly
> entirely up to the kernel, except for situations such as where a GC may need
> to pause threads.
>
> On Tue, Jan 25, 2011 at 3:39 PM, longingtoadopt.com 
> <[email protected]>wrote:
>
>
>
> > 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 [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<android-developers%[email protected]>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

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

Reply via email to