help regarding 'thread allocation to cores' - in hotspot jvm

ddmetro puzzlesdj at gmail.com
Sun Nov 21 06:07:53 PST 2010


Hi All,

I am currently trying to figure out how hotspot jvm allocates thread to
cores. I found code that creates compiler, vm and java threads as pthread
and assigns priorities to them. I tried looking in the the 'os' and 'os_cpu'
folders under 'src' folder of hotspot, however couldn't find anything
related to - allocation of threads to cores.

I expected to find this code in a folder by the name of 'i386' or 'i486'. I
tried looking in the folder 'linux_x86', but couldn't find the required
code.

Question: Can someone direct me to the code (.cpp file) that handles thread
allocation to cores?

Platform: Linux - Ubuntu 10.04

Thanking You,
Dhiraj P.


-- 
View this message in context: http://old.nabble.com/help-regarding-%27thread-allocation-to-cores%27---in-hotspot-jvm-tp30271610p30271610.html
Sent from the OpenJDK Hotspot Compiler Development List mailing list archive at Nabble.com.



More information about the hotspot-compiler-dev mailing list