摘要: pool-1-thread-3 spend1353mspool-1-thread-1 spend1542mspool-1-thread-2 spend1573mspool-1-thread-4 spend1593ms多线程访问同一个Random实例:6061mspool-2-thread-1 spe 阅读全文
posted @ 2018-03-26 15:47 anxbb 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 作者:知乎用户链接:https://www.zhihu.com/question/23089780/answer/62097840来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 相信读者在网上也看了很多关于ThreadLocal的资料,很多博客都这样说:ThreadL 阅读全文
posted @ 2018-03-26 14:37 anxbb 阅读(143) 评论(0) 推荐(0) 编辑