摘要:
垃圾回收-GC 三個問題 哪些內存需要回收? 什么時候回收? 如何回收? 新生代引發的GC叫YoungGC 老年代引發的GC叫FullGC FullGC會引起整個Jvm的用戶線程暫停,待垃圾回收完畢后,才繼續運行(嚴重影響性能) 確定對象“存活”還是“死去” 引用計數算法 根搜索算法(GC Root 閱讀全文
posted @ 2019-06-13 23:06
怪圣卡杰
閱讀(141)
評論(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
怪圣卡杰
閱讀(230)
評論(0)
推薦(0)
浙公網安備 33010602011771號