JAVA基础
lupao520
这个作者很懒,什么都没留下…
展开
-
JAVA8排序
1、inventory.sort(comparing(Apple::getWeight))原创 2020-11-08 00:05:51 · 116 阅读 · 0 评论 -
常用JVM定位命令
显示堆栈信息jmap -heap 41565 > ~/jmap.txt堆大小排序jmap -histo:live 41565 > ~/jmap.txt打印线程堆栈jmap -dump:format=b,file=/data/log/debug/pprof/heap.binjavapid定时打印JVM内存信息jstat -gcutil 4007 2000...原创 2020-02-11 22:02:08 · 133 阅读 · 0 评论