jconsole观察jvm中线程及GC情况
闲来无事,写了一个小demo来观察jvm中的线程和GC过程,代码如下public class MyExecutor { public static void main(String[] args) { try { Thread.sleep(15000);//留点时间连接jconsole } catch (InterruptedException e) ...