@@ -0,0 +1,276 @@
+package com.tencent.memory;%0A%0A/**%0A * java%E7%9A%84%E6%80%A7%E8%83%BD%E5%88%86%E6%9E%90%E5%B7%A5%E5%85%B7%E6%B5%8B%E8%AF%95%0A * @author andy%0A *%0A */%0Apublic class MemToolTest %7B%0A%09public static void main(String%5B%5D args) throws InterruptedException %7B%0A%09%09int i = 0;%0A%09%09while(true) %7B%0A%09%09%09System.out.println(%22hello,world%22+(i++));%0A%09%09%09Thread.sleep(1000);%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

add jstack/jstat/jmap的测试程序