You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/07/22 17:01:32 UTC

[GitHub] [incubator-brpc] acelyc111 edited a comment on issue #1179: TimerThread模块发生tcmalloc OOM 的coredump

acelyc111 edited a comment on issue #1179:
URL: https://github.com/apache/incubator-brpc/issues/1179#issuecomment-662570960


   如果先schedule一个task,再立即unschedule他(此时Bucket中的_task_head不会被置为nullptr),task被回收会pool。然后再schedule一个task,那么就有可能两次task的地址是相同的,从而第二次schedule时Bucket中残留的_task_head与新增的task是同一个地址,从而造成循环链表?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org