摘要:
1.结束一个JVM生命周期的方式:System.exit()Normal finish doneencounter the error or exceptioncrash,出core操作系统问题或者硬件导致 2.类加载的三个阶段:加载:查找并且加载类的二进制数据链接:--验证:确保被加载类的正确性 阅读全文
摘要:
场景:控制逻辑按步骤执行 Doug Lea的CountDownLatch实现方式 自定义一个CountDown 测试自定义CountDown 测试结果: 准备多线程处理任务。。。2 is working.4 is working.1 is working.3 is working.5 is work 阅读全文
摘要:
The Thread-Specific Storage 线程保险箱 官方解释 This class provides thread-local variables. These variables differ from their normal counterparts in that each 阅读全文