2017年7月8日
摘要: 参考资料: http://ifeve.com/java-memory-model-4/ http://www.infoq.com/cn/articles/java-memory-model-1 http://wuchong.me/blog/2014/08/28/how-to-correctly-wr 阅读全文
posted @ 2017-07-08 00:04 hiv 阅读(2900) 评论(0) 推荐(1)
摘要: java.util.concurrent.ExecutorService接口提供了许多线程管理的方法 有了以上方法,便可以基于此接口实现线程池的各种功能(例如java.util.concurrent.ThreadPoolExecutor/java.util.concurrent.ScheduledT 阅读全文
posted @ 2017-07-08 00:02 hiv 阅读(473) 评论(0) 推荐(0)
摘要: 参考资料: https://crunchify.com/hashmap-vs-concurrenthashmap-vs-synchronizedmap-how-a-hashmap-can-be-synchronized-in-java/ https://stackoverflow.com/quest 阅读全文
posted @ 2017-07-08 00:00 hiv 阅读(1307) 评论(0) 推荐(0)