ExecutorService的submit方法使用过程中的坑和源码剖析
最近在项目中集成了LeakCanry 来检测项目中出现内存泄漏,结果发现了EventBus 导致的内存的泄漏,然后引出了ExecitorService 的submit方法会catch掉所有的异常的问题(包含运行时异常)。1, Java中的异常之RuntimeException下面的链接是关于Runtime Exception 的描述:https://www.tutorialspoint.com/how-to-handle-the-runtime-exception-in-java1.1 运行时异常的
原创
2020-05-20 17:36:07 ·
2806 阅读 ·
0 评论