摘要: 题目: import java.lang.ref.WeakReference; import java.util.WeakHashMap; public class Test1 { public static void main(String[] args) { String val = test( 阅读全文
posted @ 2020-05-15 15:38 myseries 阅读(369) 评论(0) 推荐(1) 编辑
摘要: 代码实例: 问题:为什么testRunntimeException()方法没有出现编译错误提示,而testCheckedException()方法却出现unhandle exception? 分析: Excepiton分两类:checked exception、runtime exception;直 阅读全文
posted @ 2020-05-15 15:11 myseries 阅读(752) 评论(0) 推荐(0) 编辑
摘要: 出处: https://www.cnblogs.com/dennyzhangdd/p/11585971.html 一、引子 对于互联网公司,线上CPU飙升的问题很常见(例如某个活动开始,流量突然飙升时),按照本文的步骤排查,基本1分钟即可搞定!特此整理排查方法一篇,供大家参考讨论提高。 二、问题复现 阅读全文
posted @ 2020-05-15 14:35 myseries 阅读(1448) 评论(0) 推荐(0) 编辑