摘要: 垃圾回收-GC 三个问题 哪些内存需要回收? 什么时候回收? 如何回收? 新生代引发的GC叫YoungGC 老年代引发的GC叫FullGC FullGC会引起整个Jvm的用户线程暂停,待垃圾回收完毕后,才继续运行(严重影响性能) 确定对象“存活”还是“死去” 引用计数算法 根搜索算法(GC Root 阅读全文
posted @ 2019-06-13 23:06 怪圣卡杰 阅读(135) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bashAPP_NAME=bonade-uaac-service-0.0.1-SNAPSHOT.jarusage() { echo "Usage: sh 执行脚本.sh [start|stop|restart|status]" exit 1}is_exist(){ pid=`ps -e 阅读全文
posted @ 2019-06-13 12:22 怪圣卡杰 阅读(221) 评论(0) 推荐(0) 编辑