![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jvm调优
五点下班去撸铁
尿尿了
展开
-
JVM调优(二)Arthas的使用&jvm参数大小如何分配
Arthas官方文档先下载Arthas的jar包curl -O https://arthas.aliyun.com/arthas-boot.jar执行命令java -jar arthas-boot.jar执行下面程序public class HeapTest { public static void main(String[] args) throws InterruptedException { ArrayList list = new ArrayList()原创 2020-12-06 20:53:26 · 841 阅读 · 0 评论 -
JVM调优(一)通过字节码了解jvm运行时数据区
public class Math { public int compute(){ int a = 1; int b = 2; int c= (a + b) * 10; return c; } public static void main(String[] args) { Math m = new Math(); m.compute(); System.out.pri原创 2020-12-01 14:40:45 · 132 阅读 · 0 评论