How does java handle multithreading? more threads than processes
<p>I was wondering if anyone can tell me how java handles multithreading when you have more threads than the cores? for example, I have a quad core but my program is using 8 threads.</p>

<p>I'm just asking because I want to do some parallel programming. I want to use it to improve performance in an array.</p>

<p>thanks for any help.</p>

<p>Edit:
Just to clarify, I'm going to be using parallel programming to devide an array by the number of cores. so I have an array of about 50K and the hope is to use PP to improve performance and increase the array size.</p>