示例
protected
void
doGet(
HttpServletRequest
arg0,
HttpServletResponse
arg1) {
Runtime
runtime = Runtime.getRuntime();
runtime.halt(
1
);
}
解决方案
允许 JVM 管理内存并使用合用线程,而不使用进程。