JVM
RobinInWorkSite
这个作者很懒,什么都没留下…
展开
-
G1重要算法与总体流程
该总结纯属个人理解,若有错误请指出 参考资料 https://docs.oracle.com/javase/9/gctuning/garbage-first-garbage-collector.htm#JSGCT-GUID-C268549C-7D95-499C-9B24-A6670B44E49C https://books.google.com.hk/books?id=1XTlCwAAQB...原创 2020-03-19 17:46:33 · 477 阅读 · 0 评论 -
关于try、catch、finally的执行顺序与其中返回值不生效情况的探讨
先来看几段代码 /*代码块1*/ public class ExceptionTest { public int inc() { int x; try{ x=1; return x; }catch (Exception e) { x=2; ...原创 2020-02-21 17:09:35 · 427 阅读 · 0 评论