Monday, February 23, 2009

Java Thread Counts

I did some testing on a Windows machine running Sun's 1.6.0 JVM. From what I can tell, running a basic Java process requires between 12 and 14 threads. Here is the code.

public class BasicThreadTest
{
  public static void main(String[] args) {
   while (true)
   {
   }
  }
}

1 comment:

David said...

try kill -3 on that process.