JVM监控及堆栈内存

jconsole 

堆内存:存放new出来的对象

栈内存:存放基本数据结构和对象的引用,但对象本身放在堆中

原文地址:https://www.cnblogs.com/tianmh/p/9805174.html