ThreadLocal

为了防止内存泄露,一旦threadlocal完成任务,最好调用remove()

详见:ThreadLocal explained

 

posted @ 2017-08-27 16:51  raindream  阅读(146)  评论(0编辑  收藏  举报