这里面的jetty服务器起来后,一共会有几个JVM,几个进程,几个线程呢import org.mortbay.jetty.Server;public class Main { org.mortbay.jetty.Server webServer; public static void main(String[] args) throws Exception {
new Main().method();
} public void method() throws Exception { webServer = new Server();
webServer.start(); }
}
JVM服务器多线程
线程应该两个:main 和 webServer.start();
进程有点搞不清。