随笔分类 - jvm
摘要:一 Demo public class ThreadTest00 { public static void main(String[] args) { Thread t0 = new Thread(() -> System.out.println("biz thread..."), "t0"); /
阅读全文
摘要:结论 java语言层面而言,前++和后++的性能及开销没有区别 java代码 class Demo{ public void pre00(){ int num=0; ++num; } public void post00(){ int num=0; num++; } public void pre0
阅读全文