title: How does the Sun JVM map Java threads to Windows threads?
body: <p>My application uses loads of Java threads. I am looking for a reliable understanding how the JVM (version 5 and 6) maps the Java threads to underlying Windows threads. I know there is a document for mapping to Solaris threads, but not Windows.</p>
  
  <p>Why doesn't Sun publish this information?</p>
  
  <p>I want to know if there's a 1:1 mapping, or if it varies by JVM, by -server option, by workload, etc, etc.</p>
  
  <p>I know I am not "supposed" to care, I should write properly synchronisd code, but I am inheriting a large body of code...</p>
  
  <p>Also, does anyone know how to give names to Windows threads?</p>